fix(cicd): ssh option names, inherit (nixpkgs) lib

This commit is contained in:
reo101 2023-02-12 11:38:17 +02:00
parent 0879b52630
commit 6a0898753d
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
2 changed files with 9 additions and 7 deletions

View file

@ -88,10 +88,12 @@
# Feel free to remove if you don't need it.
services.openssh = {
enable = true;
# Forbid root login through SSH.
permitRootLogin = "no";
# Use keys only. Remove if you want to SSH using password (not recommended)
passwordAuthentication = false;
settings = {
# Forbid root login through SSH.
PermitRootLogin = "no";
# Use keys only. Remove if you want to SSH using password (not recommended)
PasswordAuthentication = false;
};
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion