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; + }; +}