mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:46:34 +01:00
Some ssh changes
This commit is contained in:
parent
5dd2fb403d
commit
6a3869996b
1 changed files with 3 additions and 1 deletions
|
@ -12,9 +12,11 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 22 ];
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
X11forwarding = true;
|
||||
PermitRootLogin = "yes";
|
||||
PermitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
kbdInteractiveAuthentication = false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue