config/hosts/nix-test.nix

30 lines
494 B
Nix
Raw Normal View History

{
roles,
hlConfig,
}:
{
hostname = "nix-test";
managed = true;
ip = "192.168.10.99";
roles = with roles; [
2025-02-11 17:21:09 +01:00
postgres
podman
traefik
sonarr
2025-02-07 19:32:06 +01:00
authentik
2025-02-16 12:30:00 +01:00
forgejo
];
config = {
2025-02-03 17:34:57 +01:00
sonarr.domain = "service1.${hlConfig.domain}";
2025-02-07 19:32:06 +01:00
authentik.domain = "service2.${hlConfig.domain}";
2025-02-16 12:30:00 +01:00
forgejo.domain = "service3.${hlConfig.domain}";
2025-02-05 20:43:42 +01:00
traefik.wildcardDomains = [
hlConfig.domain
"pds.${hlConfig.domain}"
];
};
stateVersion = "24.05";
}