nixpkgs/nixos/modules/programs/seahorse.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
559 B
Nix
Raw Normal View History

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