18 lines
304 B
Nix
18 lines
304 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
cfg = config.nixos.services.gnome-keyring;
|
|
in
|
|
{
|
|
options = {
|
|
nixos.services.gnome-keyring.enable = mkEnableOption "Enables gnome-keyring";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
services.gnome.gnome-keyring.enable = true;
|
|
};
|
|
}
|