mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
nix: gnome-keyring ssh integration
This commit is contained in:
parent
8f3bcec6f1
commit
679f5bea9d
2 changed files with 8 additions and 3 deletions
|
|
@ -2,8 +2,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
security.pam.services.login.enableGnomeKeyring = true;
|
||||
|
||||
# Use latest kernel.
|
||||
|
|
@ -66,7 +65,7 @@
|
|||
# programs.mtr.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
# enableSSHSupport = true;
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,13 @@
|
|||
{pkgs, ...}: {
|
||||
programs.gnupg.agent.enableSSHSupport = false;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
services.gnome.gcr-ssh-agent.enable = true;
|
||||
programs.seahorse.enable = true;
|
||||
programs.ssh = {
|
||||
enableAskPassword = true;
|
||||
askPassword = "${pkgs.seahorse}/libexec/seahorse/askpass";
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
seahorse
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue