24 lines
401 B
Nix
24 lines
401 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [ ];
|
|
|
|
options.me = {
|
|
gnome_keyring.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
example = true;
|
|
description = "Whether we want to install gnome_keyring.";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf (config.me.gnome_keyring.enable && config.me.graphical) {
|
|
services.gnome.gnome-keyring.enable = true;
|
|
};
|
|
}
|