diff options
fixed everything
Diffstat (limited to 'openstack.nix')
| -rw-r--r-- | openstack.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack.nix b/openstack.nix index fb16308..4424fc9 100644 --- a/openstack.nix +++ b/openstack.nix @@ -2,7 +2,7 @@ { nix = { settings.trusted-users = [ "root" "commander" ]; - package = pkgs.nixVersions.latest; #Unstable; + package = pkgs.nixVersions.latest; extraOptions = '' experimental-features = nix-command flakes ''; @@ -18,11 +18,11 @@ }; # Enable the OpenSSH daemon. services.openssh.enable = true; - services.openssh.ports = [ 1108 22 ]; + services.openssh.ports = [ 1108 ]; services.openssh.settings.PermitRootLogin = lib.mkForce "no"; services.openssh.settings.PasswordAuthentication = false; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 1108 22 ]; + networking.firewall.allowedTCPPorts = [ 1108 80 443 ]; networking.firewall.allowedUDPPorts = [ ]; # Configure keymap in X11 |
