2019-08-27 08:03:10 +00:00
|
|
|
# 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 {
|
|
|
|
|
2019-10-21 15:01:44 +00:00
|
|
|
programs.ssh.askPassword = mkDefault "${pkgs.gnome3.seahorse}/libexec/seahorse/ssh-askpass";
|
|
|
|
|
2019-08-27 08:03:10 +00:00
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.gnome3.seahorse
|
|
|
|
];
|
|
|
|
|
|
|
|
services.dbus.packages = [
|
|
|
|
pkgs.gnome3.seahorse
|
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|