refactor(ssh): unify SSH agent approach (use 'KeePassXC')

This commit is contained in:
2026-07-12 13:42:52 +02:00
parent 84c89170e0
commit 0fd3fe2570
5 changed files with 8 additions and 17 deletions
+1
View File
@@ -15,6 +15,7 @@ in
enable = true;
settings = {
Browser.Enabled = true;
SSHAgent.Enabled = true;
};
};
};
+7
View File
@@ -14,6 +14,13 @@ in
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ sshfs ];
services.ssh-agent.enable = true;
systemd.user.services.ssh-agent.Service.Environment = [
"SSH_ASKPASS=${pkgs.lxqt.lxqt-openssh-askpass}/bin/lxqt-openssh-askpass"
"SSH_ASKPASS_REQUIRE=prefer"
];
programs.ssh = {
enable = true;
enableDefaultConfig = false;