You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
321 B
Nix
11 lines
321 B
Nix
1 year ago
|
{ config, pkgs, ... }: {
|
||
|
services.nix-serve = {
|
||
|
enable = true;
|
||
|
secretKeyFile = "/etc/tempest/bincache/key-priv.pem";
|
||
|
};
|
||
|
|
||
|
services.nginx.virtualHosts."hemera.tempest.local" = {
|
||
|
locations."/".proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}";
|
||
|
};
|
||
|
}
|