diff --git a/flake.nix b/flake.nix index 13d71ef..8a3af15 100644 --- a/flake.nix +++ b/flake.nix @@ -8,9 +8,10 @@ system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; atauPkgs = { - atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { }; - theme-platinum9 = pkgs.callPackage ./theme-platinum9/default.nix { }; + atau-wallpapers = pkgs.callPackage ./atau-wallpapers { }; + theme-platinum9 = pkgs.callPackage ./theme-platinum9 { }; gtk-theme-mac-os-9 = pkgs.callPackage ./gtk-theme-mac-os-9 { }; + nineicons-redux = pkgs.callPackage ./nineicons-redux { }; }; in { diff --git a/nineicons-redux/default.nix b/nineicons-redux/default.nix new file mode 100644 index 0000000..a9f8fd9 --- /dev/null +++ b/nineicons-redux/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv }: + +stdenv.mkDerivation rec { + name = "nineicons-redux"; + pname = name; + version = "3cc6c532a2fcbfa2d9d15b91f7fbc0a98ddb5cf3"; + + src = fetchGit { + url = "https://www.opencode.net/aitees/nineicons-redux.git"; + rev = version; + }; + + installPhase = '' + runHook preInstall + + # Install icons + mkdir -p "$out/share/icons/NineIcons" + mv * "$out/share/icons/NineIcons" + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://www.opencode.net/aitees/nineicons-redux"; + description = "This is a quick and dirty theme meant to approximate (but not really be too pixel accurate) the MacOS 9 (or System 7) theme."; + platforms = platforms.unix; + maintainers = with maintainers; [ atau ]; + }; +} diff --git a/theme-platinum9/default.nix b/theme-platinum9/default.nix index 65a8195..0cd9223 100644 --- a/theme-platinum9/default.nix +++ b/theme-platinum9/default.nix @@ -20,8 +20,8 @@ stdenv.mkDerivation rec { mv PlatiPlus26 "$out/share/themes" # Install icons - mkdir -p "$out/share/icons" - mv NineIcons/ "$out/share/icons" + # mkdir -p "$out/share/icons" + # mv NineIcons/ "$out/share/icons" # Install fonts mkdir -p "$out/share/fonts/truetype"