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