From d8336829ee71f3604ab08f022455905e0a5c281d Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 2 Jul 2025 15:37:03 +0200 Subject: [PATCH] services/ssh: init ssh agent --- services/ssh.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 services/ssh.nix diff --git a/services/ssh.nix b/services/ssh.nix new file mode 100644 index 0000000..b4714bd --- /dev/null +++ b/services/ssh.nix @@ -0,0 +1,9 @@ +{ lib, config, pkgs, ... }: + +lib.mkIf (lib.elem "ssh" config.machine.services) { + programs.ssh = { + enableAskPassword = true; + askPassword = "${pkgs.wayprompt}/bin/wayprompt-ssh-askpass"; + startAgent = true; + }; +}