26 lines
323 B
Nix
26 lines
323 B
Nix
|
{
|
||
|
roles,
|
||
|
homelabConfig,
|
||
|
...
|
||
|
}:
|
||
|
let
|
||
|
hlConfig = homelabConfig;
|
||
|
in
|
||
|
{
|
||
|
base = {
|
||
|
roles = [ ];
|
||
|
config = { };
|
||
|
stateVersion = "24.05";
|
||
|
};
|
||
|
|
||
|
nix-test = {
|
||
|
roles = with roles; [
|
||
|
sonarr
|
||
|
];
|
||
|
config = {
|
||
|
sonarr.domain = "sonarr.${hlConfig.domain}";
|
||
|
};
|
||
|
stateVersion = "24.05";
|
||
|
};
|
||
|
}
|