From 417cebf2102c2c523f78cde3d6a4546ba6863357 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sun, 26 Dec 2021 15:52:13 +0100 Subject: [PATCH] Closed some ports --- machines/lisa/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/machines/lisa/default.nix b/machines/lisa/default.nix index ea20383..7c9842b 100644 --- a/machines/lisa/default.nix +++ b/machines/lisa/default.nix @@ -34,16 +34,14 @@ }; }; - nix.maxJobs = lib.mkDefault 8; + nix.maxJobs = lib.mkDefault 4; - networking.hostName = "lisa"; # Define your hostname. + networking.hostName = "lisa"; networking.interfaces.ens18.useDHCP = true; networking.interfaces.ens19.useDHCP = false; networking.interfaces.ens19.ipv6.addresses = [{ address = "2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb"; prefixLength = 120; }]; - networking.firewall.allowedTCPPorts = [ 80 443 8096 8920 ]; - networking.firewall.allowedUDPPorts = [ 80 443 1900 7359 ]; - system.stateVersion = "20.09"; # Did you read the comment? + system.stateVersion = "20.09"; }