Update FredOS-Mediaserver.nix
This commit is contained in:
parent
1cf0507029
commit
667a10b82a
1 changed files with 6 additions and 1 deletions
|
|
@ -77,11 +77,16 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open firewall for web traffic
|
# 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
|
# Basic networking
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings.PermitRootLogin = "no";
|
||||||
|
};
|
||||||
|
|
||||||
# Boot loader
|
# Boot loader
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.device = "/dev/sdc";
|
boot.loader.grub.device = "/dev/sdc";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue