fix: ensure networking remains good
This commit is contained in:
parent
7c4e83f60a
commit
02dd11c8b4
5 changed files with 32 additions and 27 deletions
|
@ -57,7 +57,12 @@ in {
|
|||
|
||||
environment.systemPackages = [pkgs.vim];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
networking = {
|
||||
defaultGateway = {
|
||||
address = lib.mkDefault "193.1.96.161";
|
||||
interface = lib.mkDefault "eth1";
|
||||
};
|
||||
};
|
||||
|
||||
# normally services cannot read home dirs
|
||||
systemd.services.nginx.serviceConfig.ProtectHome = "read-only";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue