From 39e8406c03538ed1539c8cfc0553d970a531aa4d Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Sat, 14 Oct 2023 17:38:08 +0200 Subject: [PATCH] Add icon theme --- nixos/flake.nix | 1 + nixos/modules/default.nix | 2 ++ nixos/overlays/icosystem/default.nix | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 nixos/overlays/icosystem/default.nix diff --git a/nixos/flake.nix b/nixos/flake.nix index ee2996e..0bdd89a 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -40,6 +40,7 @@ sharedOverlays = [ (import ./overlays/letter) + (import ./overlays/icosystem) ]; hostDefaults = { diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix index 3410fdc..570872c 100644 --- a/nixos/modules/default.nix +++ b/nixos/modules/default.nix @@ -58,6 +58,8 @@ packages = with pkgs; [ gnupg + + icosystem ]; }; diff --git a/nixos/overlays/icosystem/default.nix b/nixos/overlays/icosystem/default.nix new file mode 100644 index 0000000..0249251 --- /dev/null +++ b/nixos/overlays/icosystem/default.nix @@ -0,0 +1,18 @@ +final: prev: { + icosystem = final.stdenv.mkDerivation { + name = "icosystem"; + version = "v1.0.0"; + src = final.fetchFromGitea { + domain = "git.depeuter.dev"; + owner = "tdpeuter"; + repo = "icosystem"; + rev = "ca565dc36d"; + hash = "sha256-GJu0APTkrsFH981Y1RBedOnvVJ5Z79w2WPcLkrc8CH0="; + }; + + installPhase = '' + mkdir -p $out/share/icons + cp -R $src $out/share/icons/icosystem + ''; + }; +}