at 24.11-pre 577 B view raw
1# Seahorse. 2 3{ config, pkgs, lib, ... }: 4 5{ 6 7 ###### interface 8 9 options = { 10 11 programs.seahorse = { 12 13 enable = lib.mkEnableOption "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring"; 14 15 }; 16 17 }; 18 19 20 ###### implementation 21 22 config = lib.mkIf config.programs.seahorse.enable { 23 24 programs.ssh.askPassword = lib.mkDefault "${pkgs.gnome.seahorse}/libexec/seahorse/ssh-askpass"; 25 26 environment.systemPackages = [ 27 pkgs.gnome.seahorse 28 ]; 29 30 services.dbus.packages = [ 31 pkgs.gnome.seahorse 32 ]; 33 34 }; 35 36}