2019-08-27 08:03:10 +00:00
|
|
|
# Seahorse.
|
|
|
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
|
|
|
programs.seahorse = {
|
|
|
|
|
2024-04-30 16:57:01 +00:00
|
|
|
enable = lib.mkEnableOption "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring";
|
2019-08-27 08:03:10 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
2024-04-30 16:57:01 +00:00
|
|
|
config = lib.mkIf config.programs.seahorse.enable {
|
2019-08-27 08:03:10 +00:00
|
|
|
|
2024-04-30 16:57:01 +00:00
|
|
|
programs.ssh.askPassword = lib.mkDefault "${pkgs.gnome.seahorse}/libexec/seahorse/ssh-askpass";
|
2019-10-21 15:01:44 +00:00
|
|
|
|
2019-08-27 08:03:10 +00:00
|
|
|
environment.systemPackages = [
|
2021-05-07 21:18:14 +00:00
|
|
|
pkgs.gnome.seahorse
|
2019-08-27 08:03:10 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
services.dbus.packages = [
|
2021-05-07 21:18:14 +00:00
|
|
|
pkgs.gnome.seahorse
|
2019-08-27 08:03:10 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|