From e4adc7c86d94bb2d4294953bf4a894ed3ac8eedf Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Wed, 28 Aug 2024 21:52:27 +0000 Subject: Server changes --- host/Rory-nginx/configuration.nix | 6 ++++++ rebuild-wsl-no-update.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1