use nodename to compute ipv6 address

This commit is contained in:
Jörg Thalheim 2022-05-11 15:50:19 +02:00
parent 7ddfb51df4
commit dd6a3dce44
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ in {
networking.retiolum.ipv6 = mkOption {
type = types.str;
default = (genipv6 "retiolum" "external" {
inherit (config.networking) hostName;
hostName = networking.retiolum.nodename;
}).address;
description = ''
own ipv6 address