From d212c13635a085d5780c67ec9806df0216322cc1 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 26 Dec 2024 14:28:43 +0100 Subject: [PATCH] nixosModules/style: add regreet config --- shared/nixosModules/style/modules/regreet.nix | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 shared/nixosModules/style/modules/regreet.nix diff --git a/shared/nixosModules/style/modules/regreet.nix b/shared/nixosModules/style/modules/regreet.nix new file mode 100644 index 0000000..1fb8866 --- /dev/null +++ b/shared/nixosModules/style/modules/regreet.nix @@ -0,0 +1,21 @@ +{ + lib, + config, + ... +}: let + cfg = config.local.style; +in { + config.programs.regreet = lib.mkIf cfg.enable { + theme = { + inherit (cfg.gtk.theme) name package; + }; + + cursorTheme = { + inherit (cfg.cursorTheme) name package; + }; + + iconTheme = { + inherit (cfg.gtk.iconTheme) name package; + }; + }; +}