summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory&::Emma <root@rory.gay>2024-08-28 21:52:27 +0000
committerRory&::Emma <root@rory.gay>2024-08-28 21:52:27 +0000
commite4adc7c86d94bb2d4294953bf4a894ed3ac8eedf (patch)
tree18ae86c584b658c94e14af4eca74e4b8a4f04781
parentipv6 is needed i guess (diff)
downloadRory-Open-Architecture-e4adc7c86d94bb2d4294953bf4a894ed3ac8eedf.tar.xz
Server changes
-rwxr-xr-xhost/Rory-nginx/configuration.nix6
-rwxr-xr-xrebuild-wsl-no-update.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index 456e15c..14dbd9d 100755
--- a/host/Rory-nginx/configuration.nix
+++ b/host/Rory-nginx/configuration.nix
@@ -50,6 +50,7 @@
       externalInterface = "ens18";
       #enableIPv6 = true;
     };
+    enableIPv6 = lib.mkForce true;
   };
 
   monitoring = {
@@ -80,6 +81,11 @@
     conduit = conduit;
   };
 
+  services.pgadmin = {
+    enable = true;
+    initialEmail = "root@localhost.localdomain";
+    initialPasswordFile = "/etc/matrix-user-pass";
+  };
   containers."draupnir-cme" = import ./services/containers/draupnir-cme/container.nix { inherit pkgs lib nixpkgs-Draupnir; };
 
   containers."draupnir-linux-mint" = import ./services/containers/draupnir-linux-mint/container.nix { inherit pkgs lib nixpkgs-Draupnir; };
diff --git a/rebuild-wsl-no-update.sh b/rebuild-wsl-no-update.sh
index f522e30..a9e9b87 100755
--- a/rebuild-wsl-no-update.sh
+++ b/rebuild-wsl-no-update.sh
@@ -1,5 +1,5 @@
 #!/usr/bin/env sh
 source lib/lib
 
-nom build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel && sudo nixos-rebuild switch --flake .#${HOSTNAME}
+nom build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel -j24 && sudo nixos-rebuild switch --flake .#${HOSTNAME}
 #./build.sh / $HOSTNAME