services/ssh: init ssh agent
This commit is contained in:
parent
6333da56b2
commit
d8336829ee
1 changed files with 9 additions and 0 deletions
9
services/ssh.nix
Normal file
9
services/ssh.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue