nichts/modules/style/gtk.nix

25 lines
473 B
Nix
Raw Normal View History

2024-05-22 14:29:45 +02:00
{
config,
lib,
...
}:
with lib; let
2024-08-15 23:59:00 +02:00
cfg = config.modules.usrEnv.style.gtk;
2024-07-10 22:10:54 +02:00
inherit (config.modules.other.system) username;
2024-08-15 23:59:00 +02:00
inherit (config.modules.usrEnv.style.gtk) theme iconTheme;
2024-04-10 17:39:26 +02:00
in {
config = mkIf cfg.enable {
home-manager.users.${username} = {
gtk = {
enable = true;
2024-08-15 23:26:43 +02:00
theme = {
inherit (theme) name package;
};
iconTheme = {
2024-08-15 23:59:00 +02:00
inherit (iconTheme) name package;
2024-04-10 17:39:26 +02:00
};
};
2024-04-10 17:39:26 +02:00
};
};
2024-04-10 17:39:26 +02:00
}