9 lines
250 B
Nix
9 lines
250 B
Nix
{config, ...}: {
|
|
imports = [./caddy.nix];
|
|
services.nix-serve = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
services.caddy.virtualHosts."nix.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${config.services.nix-serve.port}";
|
|
}
|