Evie Litherland-Smith
763a1d2a05
Place home-manager config under home directory, move system config under system directory. Add hostname-specific entries under home directory to be consistent with how system is configured, update flake accordingly
10 lines
302 B
Nix
10 lines
302 B
Nix
{config, ...}: {
|
|
imports = [./caddy.nix];
|
|
services.nix-serve = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
secretKeyFile = "/root/nix-serve.key";
|
|
};
|
|
services.caddy.virtualHosts."nix.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.nix-serve.port}";
|
|
}
|