config/hosts/nix-test.nix

23 lines
337 B
Nix

{
roles,
hlConfig,
}:
{
hostname = "nix-test";
managed = true;
ip = "192.168.10.99";
roles = with roles; [
traefik
sonarr
];
config = {
sonarr.domain = "service1.${hlConfig.domain}";
traefik.wildcardDomains = [
hlConfig.domain
"pds.${hlConfig.domain}"
];
};
stateVersion = "24.05";
}