some refactoring and modularizing locale
This commit is contained in:
15
modules/nixos/services/security/gnome-keyring/default.nix
Normal file
15
modules/nixos/services/security/gnome-keyring/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.nixos.services.security.gnome-keyring;
|
||||
in {
|
||||
options = {
|
||||
nixos.services.security.gnome-keyring.enable = mkEnableOption "Enables gnome-keyring";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user