mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:59:23 +08:00
packages.server.ssh: set askPassword to systemd-ask-password
This commit is contained in:
@@ -96,6 +96,7 @@ inputs:
|
||||
else []
|
||||
))
|
||||
(attrsToList servers)));
|
||||
programs.ssh = { enableAskPassword = true; askPassword = "${inputs.pkgs.systemd}/bin/systemd-ask-password"; };
|
||||
nixos.users.sharedModules =
|
||||
[(hmInputs: {
|
||||
config.programs.ssh =
|
||||
|
||||
Reference in New Issue
Block a user