Use programs.ssh.askPassword
All checks were successful
Check Flake / check-flake (push) Successful in 4m56s

This commit is contained in:
2026-01-11 15:24:53 -08:00
parent adc04d1bc7
commit bab2df5d7e
2 changed files with 4 additions and 4 deletions

View File

@@ -90,5 +90,9 @@ in
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
fonts.packages = with pkgs; [ nerd-fonts.symbols-only ]; fonts.packages = with pkgs; [ nerd-fonts.symbols-only ];
# SSH Ask pass
programs.ssh.enableAskPassword = true;
programs.ssh.askPassword = "${pkgs.kdePackages.ksshaskpass}/bin/ksshaskpass";
}; };
} }

View File

@@ -12,10 +12,6 @@ in
programs.home-manager.enable = true; programs.home-manager.enable = true;
services.ssh-agent.enable = true; services.ssh-agent.enable = true;
# Configure ssh askpass correctly
systemd.user.services.ssh-agent.Service.Environment = [
"SSH_ASKPASS=${pkgs.kdePackages.ksshaskpass}/bin/ksshaskpass"
];
# System Monitoring # System Monitoring
programs.btop.enable = true; programs.btop.enable = true;