From cdfcbf751d1a27d5e92719921596d6a05641d87f Mon Sep 17 00:00:00 2001 From: MathewHDYT <48954742+MathewHDYT@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:37:56 +0100 Subject: [PATCH] Attempt to add regrett configuration --- modules/programs/greetd.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/programs/greetd.nix b/modules/programs/greetd.nix index 5a3f598..dc4f958 100644 --- a/modules/programs/greetd.nix +++ b/modules/programs/greetd.nix @@ -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;