From f7927f65107c906bcb627b3a7f9130eee4f7c83d Mon Sep 17 00:00:00 2001 From: Victor Mignot Date: Tue, 3 Dec 2024 10:56:51 +0100 Subject: [PATCH] Enable ssh_askpass on workstations --- modules/workstation/default.nix | 1 + modules/workstation/ssh.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 modules/workstation/ssh.nix diff --git a/modules/workstation/default.nix b/modules/workstation/default.nix index 971b1c8..02bae8b 100644 --- a/modules/workstation/default.nix +++ b/modules/workstation/default.nix @@ -13,6 +13,7 @@ ./desktop.nix ./bluetooth.nix ./wireshark.nix + ./ssh.nix ]; config = diff --git a/modules/workstation/ssh.nix b/modules/workstation/ssh.nix new file mode 100644 index 0000000..873261b --- /dev/null +++ b/modules/workstation/ssh.nix @@ -0,0 +1,9 @@ +{ ... }: +{ + programs.ssh = { + startAgent = true; + enableAskPassword = true; + }; + + environment.variables.SSH_ASKPASS_REQUIRE = "never"; +}