further adjustments to waybar

This commit is contained in:
Christoph Hollizeck 2024-09-15 04:12:26 +02:00
parent 28697261d6
commit dff4f4557b
7 changed files with 644 additions and 270 deletions

View file

@ -5,17 +5,17 @@
namespace,
...
}:
with lib;
with lib.${namespace};
let
inherit (lib) mkIf types;
inherit (lib.wyrdgard) mkBoolOpt;
cfg = config.${namespace}.security.keyring;
in
{
options.${namespace}.security.keyring = with types; {
options.${namespace}.security.keyring = {
enable = mkBoolOpt true "Whether to enable gnome keyring.";
};
config = mkIf cfg.enable {
services.gnome.gnome-keyring.enable = true;
services.gnome.gnome-keyring.enable = true;
};
}