5b2b3b8558
The can potentially mask evaluation errors due to laziness of variable access within.
36 lines
577 B
Nix
36 lines
577 B
Nix
# Seahorse.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
programs.seahorse = {
|
|
|
|
enable = lib.mkEnableOption "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
###### implementation
|
|
|
|
config = lib.mkIf config.programs.seahorse.enable {
|
|
|
|
programs.ssh.askPassword = lib.mkDefault "${pkgs.gnome.seahorse}/libexec/seahorse/ssh-askpass";
|
|
|
|
environment.systemPackages = [
|
|
pkgs.gnome.seahorse
|
|
];
|
|
|
|
services.dbus.packages = [
|
|
pkgs.gnome.seahorse
|
|
];
|
|
|
|
};
|
|
|
|
}
|