diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/desktops/gnome3/seahorse.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/desktops/gnome3/seahorse.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/nixos/modules/services/desktops/gnome3/seahorse.nix b/nixpkgs/nixos/modules/services/desktops/gnome3/seahorse.nix new file mode 100644 index 000000000000..9631157934f9 --- /dev/null +++ b/nixpkgs/nixos/modules/services/desktops/gnome3/seahorse.nix @@ -0,0 +1,38 @@ +# Seahorse daemon. + +{ config, pkgs, lib, ... }: + +with lib; + +{ + + ###### interface + + options = { + + services.gnome3.seahorse = { + + enable = mkOption { + type = types.bool; + default = false; + description = '' + Whether to enable Seahorse search provider for the GNOME Shell activity search. + ''; + }; + + }; + + }; + + + ###### implementation + + config = mkIf config.services.gnome3.seahorse.enable { + + environment.systemPackages = [ pkgs.gnome3.seahorse pkgs.gnome3.dconf ]; + + services.dbus.packages = [ pkgs.gnome3.seahorse ]; + + }; + +} |