Attempt to add regrett configuration

This commit is contained in:
MathewHDYT 2024-11-08 11:37:56 +01:00
parent 0c1291d3fd
commit cdfcbf751d

View file

@ -58,6 +58,16 @@
'';
};
};
regreet = {
customSettings = lib.mkOption {
default = { };
example = { };
type = with lib.types; attrsOf anything;
description = ''
Custom regret settings.
'';
};
};
};
config =
@ -91,6 +101,9 @@
default_session = session;
};
};
programs.regreet.enable = true;
programs.regreet.settings = config.mods.regreet.customSettings;
environment.etc."greetd/environments".text = config.mods.greetd.environments;