Added small changes

This commit is contained in:
FredzyW 2024-05-08 21:48:59 +02:00
parent 4b77350f91
commit 54d57d1424
3 changed files with 24 additions and 2 deletions

View file

@ -27,6 +27,20 @@ networking.firewall = {
{ from = 8000; to = 8010; }
];
};
services = {
openssh = {
enable = true;
ports = [55502];
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
X11Forwarding = true;
};
extraConfig = ''
AllowUsers fw
'';
};
};
security.rtkit.enable = true;