parent
f0dce64acd
commit
90319d5e33
@ -0,0 +1,44 @@ |
||||
# Seahorse. |
||||
|
||||
{ config, pkgs, lib, ... }: |
||||
|
||||
with lib; |
||||
|
||||
{ |
||||
|
||||
# Added 2019-08-27 |
||||
imports = [ |
||||
(mkRenamedOptionModule |
||||
[ "services" "gnome3" "seahorse" "enable" ] |
||||
[ "programs" "seahorse" "enable" ]) |
||||
]; |
||||
|
||||
|
||||
###### interface |
||||
|
||||
options = { |
||||
|
||||
programs.seahorse = { |
||||
|
||||
enable = mkEnableOption "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring"; |
||||
|
||||
}; |
||||
|
||||
}; |
||||
|
||||
|
||||
###### implementation |
||||
|
||||
config = mkIf config.programs.seahorse.enable { |
||||
|
||||
environment.systemPackages = [ |
||||
pkgs.gnome3.seahorse |
||||
]; |
||||
|
||||
services.dbus.packages = [ |
||||
pkgs.gnome3.seahorse |
||||
]; |
||||
|
||||
}; |
||||
|
||||
} |
@ -1,38 +0,0 @@ |
||||
# 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 ]; |
||||
|
||||
}; |
||||
|
||||
} |
Loading…
Reference in new issue