diff --git a/home/kagami-pc-home.nix b/home/kagami-pc-home.nix index bc40a84..0c67533 100644 --- a/home/kagami-pc-home.nix +++ b/home/kagami-pc-home.nix @@ -5,7 +5,7 @@ # Common configuration ./common.nix # osu! - ./osu.nix + ./osu ]; # Home Manager needs a bit of information about you and the diff --git a/home/macbook-nixos.nix b/home/macbook-nixos.nix index ddd03e0..8178d4e 100644 --- a/home/macbook-nixos.nix +++ b/home/macbook-nixos.nix @@ -10,7 +10,8 @@ in # We use our own firefox # ./firefox.nix # osu! - # ./osu.nix + # ./osu + ]; # Home Manager needs a bit of information about you and the diff --git a/home/nki-framework.nix b/home/nki-framework.nix index 5fab12e..472945f 100644 --- a/home/nki-framework.nix +++ b/home/nki-framework.nix @@ -7,7 +7,7 @@ # We use our own firefox # ./firefox.nix # osu! - ./osu.nix + ./osu ]; # Home Manager needs a bit of information about you and the diff --git a/home/nki-x1c1.nix b/home/nki-x1c1.nix index 9f762bd..9fdeb5e 100644 --- a/home/nki-x1c1.nix +++ b/home/nki-x1c1.nix @@ -22,7 +22,7 @@ in # We use our own firefox # ./firefox.nix # osu! - ./osu.nix + ./osu ]; # Home Manager needs a bit of information about you and the diff --git a/home/osu.nix b/home/osu/default.nix similarity index 92% rename from home/osu.nix rename to home/osu/default.nix index 0937ac5..adb9a68 100644 --- a/home/osu.nix +++ b/home/osu/default.nix @@ -18,6 +18,7 @@ let '' mv -v $out/bin/${pname} $out/bin/osu\! install -m 444 -D ${contents}/osu\!.desktop -t $out/share/applications + install -m 444 -D ${./mimetypes.xml} $out/share/mime/packages/${pname}.xml for i in 16 32 48 64 96 128 256 512 1024; do install -D ${contents}/osu.png $out/share/icons/hicolor/''${i}x$i/apps/osu.png done diff --git a/home/osu/mimetypes.xml b/home/osu/mimetypes.xml new file mode 100644 index 0000000..fa7ec94 --- /dev/null +++ b/home/osu/mimetypes.xml @@ -0,0 +1,29 @@ + + + + + osu! Beatmap Archive + + + + + + osu! Skin Archive + + + + + osu! Beatmap + + + + + osu! Storyboard + + + + + osu! Replay + + +