Include customSettings option to configure regreet #4

Merged
MathewHDYT merged 6 commits from main into main 2024-11-08 19:41:51 +01:00
3 changed files with 7 additions and 6 deletions
Showing only changes of commit 0628fa1eeb - Show all commits

View file

@ -88,7 +88,7 @@
];
type = with lib.types; listOf attrs;
description = ''
Adds modules to ironbar.
Adds modules to ironbar. See https://github.com/JakeStanger/ironbar/wiki/ for more information.
'';
};
};

View file

@ -46,7 +46,7 @@
};
example = { };
type = with lib.types; attrsOf anything;
description = "Firefox policy configuration";
description = "Firefox policy configuration. See https://mozilla.github.io/policy-templates/ for more information.";
};
extensions = lib.mkOption {
default = with pkgs.nur.repos.rycee.firefox-addons; [

View file

@ -64,7 +64,7 @@
example = { };
type = with lib.types; attrsOf anything;
description = ''
Custom regret settings.
Custom regret settings. See https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml for more information.
'';
};
};
@ -101,9 +101,10 @@
default_session = session;
};
};
programs.regreet.enable = true;
programs.regreet.settings = config.mods.regreet.customSettings;
programs.regreet = {
settings = config.mods.regreet.customSettings;
};
environment.etc."greetd/environments".text = config.mods.greetd.environments;