nixosModules/style: add regreet config
This commit is contained in:
parent
21d45256fe
commit
d212c13635
1 changed files with 21 additions and 0 deletions
21
shared/nixosModules/style/modules/regreet.nix
Normal file
21
shared/nixosModules/style/modules/regreet.nix
Normal file
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue