depot/third_party/nixpkgs/nixos/modules/programs/seahorse.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

36 lines
559 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.seahorse}/libexec/seahorse/ssh-askpass";
environment.systemPackages = [
pkgs.seahorse
];
services.dbus.packages = [
pkgs.seahorse
];
};
}