networking/overlay: Add option fqdn

This commit is contained in:
SebastianStork 2026-02-14 21:41:48 +01:00
parent f27479b861
commit 4a6a391eb0
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI
3 changed files with 6 additions and 4 deletions

View file

@ -27,6 +27,10 @@ in
type = lib.types.nonEmptyStr;
default = "";
};
fqdn = lib.mkOption {
type = lib.types.nonEmptyStr;
default = "${config.custom.networking.hostName}.${cfg.domain}";
};
address = lib.mkOption {
type = lib.types.nonEmptyStr;