further adjustments to waybar
This commit is contained in:
parent
d2b4bd8012
commit
d15768ff74
7 changed files with 644 additions and 270 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue