further adjustments to waybar

This commit is contained in:
Christoph Hollizeck 2024-09-15 04:12:26 +02:00
parent d2b4bd8012
commit d15768ff74
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
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;
};
}