remove some references to config in options

This commit is contained in:
DavHau
2025-04-03 17:22:03 +07:00
parent c411e8bddc
commit 085a8c2050
11 changed files with 28 additions and 6 deletions

View File

@@ -8,6 +8,12 @@
[ ]
else
[ config.clan.core.settings.machine.name ];
defaultText = lib.literalExpression ''
if config.clan.static-hosts.topLevelDomain != "" then
[ ]
else
[ config.clan.core.settings.machine.name ];
'';
description = "Hosts that should be excluded";
};
topLevelDomain = lib.mkOption {