summaryrefslogtreecommitdiff
path: root/openstack.nix
diff options
context:
space:
mode:
authorJohn Bargman2025-08-20 20:57:34 +0000
committerJohn Bargman2025-08-20 20:57:34 +0000
commit474115c2c6d2ce965f45a60ca59490e128124878 (patch)
tree767b0e888e316c9ae611735460ad833527f679ae /openstack.nix
parent451baad89b5101b2d0411669c5c696fd6ad435da (diff)
downloadcrash-web-474115c2c6d2ce965f45a60ca59490e128124878.tar
crash-web-474115c2c6d2ce965f45a60ca59490e128124878.tar.gz
crash-web-474115c2c6d2ce965f45a60ca59490e128124878.tar.bz2
crash-web-474115c2c6d2ce965f45a60ca59490e128124878.tar.lz
crash-web-474115c2c6d2ce965f45a60ca59490e128124878.tar.xz
crash-web-474115c2c6d2ce965f45a60ca59490e128124878.tar.zst
crash-web-474115c2c6d2ce965f45a60ca59490e128124878.zip
fixed everything
Diffstat (limited to 'openstack.nix')
-rw-r--r--openstack.nix6
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