2019-08-27 10:03:10 +02:00
|
|
|
# Seahorse.
|
|
|
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# Added 2019-08-27
|
|
|
|
imports = [
|
|
|
|
(mkRenamedOptionModule
|
|
|
|
[ "services" "gnome3" "seahorse" "enable" ]
|
|
|
|
[ "programs" "seahorse" "enable" ])
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
|
|
|
programs.seahorse = {
|
|
|
|
|
2022-08-28 21:18:44 +02:00
|
|
|
enable = mkEnableOption (lib.mdDoc "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring");
|
2019-08-27 10:03:10 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.programs.seahorse.enable {
|
|
|
|
|
2021-05-07 23:18:14 +02:00
|
|
|
programs.ssh.askPassword = mkDefault "${pkgs.gnome.seahorse}/libexec/seahorse/ssh-askpass";
|
2019-10-21 17:01:44 +02:00
|
|
|
|
2019-08-27 10:03:10 +02:00
|
|
|
environment.systemPackages = [
|
2021-05-07 23:18:14 +02:00
|
|
|
pkgs.gnome.seahorse
|
2019-08-27 10:03:10 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
services.dbus.packages = [
|
2021-05-07 23:18:14 +02:00
|
|
|
pkgs.gnome.seahorse
|
2019-08-27 10:03:10 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|