nix-serve: add signing key, fix setting port in caddy config

This commit is contained in:
Evie Litherland-Smith 2024-03-02 16:58:57 +00:00
parent ea0c55127b
commit fb0f35c7a7

View file

@ -3,6 +3,7 @@
services.nix-serve = { services.nix-serve = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
secretKeyFile = "/root/nix-serve.key";
}; };
services.caddy.virtualHosts."nix.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${config.services.nix-serve.port}"; services.caddy.virtualHosts."nix.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.nix-serve.port}";
} }