2024-12-26 17:22:00 +01:00
|
|
|
{
|
|
|
|
roles,
|
|
|
|
homelabConfig,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
hlConfig = homelabConfig;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
base = {
|
|
|
|
roles = [ ];
|
|
|
|
config = { };
|
|
|
|
stateVersion = "24.05";
|
|
|
|
};
|
|
|
|
|
|
|
|
nix-test = {
|
|
|
|
roles = with roles; [
|
2024-12-26 19:20:22 +01:00
|
|
|
traefik
|
2024-12-26 17:22:00 +01:00
|
|
|
sonarr
|
|
|
|
];
|
|
|
|
config = {
|
|
|
|
sonarr.domain = "sonarr.${hlConfig.domain}";
|
2024-12-26 19:23:12 +01:00
|
|
|
traefik.wildcardDomains = [ hlConfig.domain ];
|
2024-12-26 17:22:00 +01:00
|
|
|
};
|
|
|
|
stateVersion = "24.05";
|
|
|
|
};
|
2024-12-26 19:20:22 +01:00
|
|
|
|
|
|
|
nix-test2 = {
|
|
|
|
roles = with roles; [
|
|
|
|
sonarr
|
|
|
|
];
|
|
|
|
config = {
|
|
|
|
sonarr.domain = "sonarr2.${hlConfig.domain}";
|
|
|
|
};
|
|
|
|
stateVersion = "24.05";
|
|
|
|
};
|
2024-12-26 17:22:00 +01:00
|
|
|
}
|