aboutsummaryrefslogtreecommitdiff
path: root/nix/systems
diff options
context:
space:
mode:
Diffstat (limited to 'nix/systems')
-rw-r--r--nix/systems/installer/default.nix2
-rw-r--r--nix/systems/spontaneity/default.nix4
2 files changed, 5 insertions, 1 deletions
diff --git a/nix/systems/installer/default.nix b/nix/systems/installer/default.nix
index d3d1693..90a58db 100644
--- a/nix/systems/installer/default.nix
+++ b/nix/systems/installer/default.nix
@@ -21,7 +21,7 @@ in
enable = true;
ports = [ 22 ];
settings = {
- PasswordAuthentication = true;
+ PasswordAuthentication = false;
AllowUsers = null;
UseDns = true;
PermitRootLogin = lib.mkForce "prohibit-password";
diff --git a/nix/systems/spontaneity/default.nix b/nix/systems/spontaneity/default.nix
index df3dc6b..a40c53a 100644
--- a/nix/systems/spontaneity/default.nix
+++ b/nix/systems/spontaneity/default.nix
@@ -17,4 +17,8 @@
grub.enable = true;
};
};
+ config.networking.firewall.allowedTCPPorts = [
+ 80
+ 443
+ ];
}