2025-02-03 16:58:33 +01:00
|
|
|
{
|
|
|
|
roles,
|
|
|
|
hlConfig,
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
hostname = "nix-test";
|
|
|
|
managed = true;
|
|
|
|
ip = "192.168.10.99";
|
|
|
|
|
|
|
|
roles = with roles; [
|
|
|
|
traefik
|
|
|
|
sonarr
|
|
|
|
];
|
|
|
|
config = {
|
2025-02-03 17:34:57 +01:00
|
|
|
sonarr.domain = "service1.${hlConfig.domain}";
|
2025-02-03 16:58:33 +01:00
|
|
|
traefik.wildcardDomains = [ hlConfig.domain ];
|
|
|
|
};
|
|
|
|
stateVersion = "24.05";
|
|
|
|
}
|