summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/nix.org5
-rw-r--r--flake.nix6
m---------nix0
3 files changed, 7 insertions, 4 deletions
diff --git a/config/nix.org b/config/nix.org
index 89928d5..c355ba5 100644
--- a/config/nix.org
+++ b/config/nix.org
@@ -1733,7 +1733,7 @@ to the outside world under a domain.
'';
};
extraConfig = ''
- include ${monorepoSelf.packages.${pkgs.system}.website}/csp_headers.conf;
+ include ${monorepoSelf.packages.${pkgs.system}.website}/csp_header.conf;
rewrite ^/graph_view/?(.*)$ https://graph.${config.monorepo.vars.remoteHost}/$1 permanent;
'';
};
@@ -2396,6 +2396,7 @@ because they enhance security.
memoryPercent = 50;
};
+ # Shim for testing
virtualisation.vmVariant = {
sops.validateSopsFiles = false;
disko.devices = lib.mkForce {};
@@ -2424,6 +2425,8 @@ because they enhance security.
systemd.services.sops-nix = {
unitConfig.RequiresMountsFor = "/home/preston/.config/sops/age";
};
+
+ security.acme.defaults.server = lib.mkForce "https://127.0.0.1:14000/dir";
};
documentation = {
diff --git a/flake.nix b/flake.nix
index 17ff339..228e15a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -373,10 +373,10 @@ sha256sum installer.iso > installer.iso.sha256
testScript = ''
spontaneity.start()
-spontaneity.wait_for_unit("nginx.service")
-spontaneity.wait_for_open_port(443)
+spontaneity.succeed('printf "smoke"')
+spontaneity.wait_for_unit("default.target")
spontaneity.succeed("systemctl is-active nginx")
-spontaneity.succeed("echo 'smoke'")
+spontaneity.succeed('printf "smoke again"')
'';
};
};
diff --git a/nix b/nix
-Subproject 202612ad3fabefa274423bb24f955157b9a290a
+Subproject 7185f3f185bbfe594dbf11a31a2e7d78d5b72f0