nixosModules/style: add regreet config

This commit is contained in:
Anthony Rodriguez 2024-12-26 14:28:43 +01:00
parent 21d45256fe
commit d212c13635
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View 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;
};
};
}