Update FredOS-Mediaserver.nix

This commit is contained in:
ediblerope 2026-01-20 13:31:23 +00:00 committed by GitHub
parent 1cf0507029
commit 667a10b82a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,11 +77,16 @@
};
# Open firewall for web traffic
networking.firewall.allowedTCPPorts = [ 80 443 81 ]; # 81 is NPM admin interface
networking.firewall.allowedTCPPorts = [ 80 443 81 22 ]; # 81 is NPM admin interface
# Basic networking
networking.useDHCP = lib.mkDefault true;
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
};
# Boot loader
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sdc";