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