Add missing link_local_ips and priority

This commit is contained in:
Nikita Pedorich 2023-07-20 00:17:02 +09:00
parent b175f45613
commit 16f9888732
No known key found for this signature in database
GPG key ID: ADC7FB37D4DF4CE2

View file

@ -260,7 +260,7 @@ in
_out = mkOption { _out = mkOption {
internal = true; internal = true;
readOnly = true; readOnly = true;
default = lib.mapAttrs (k: opt: opt.value) (lib.filterAttrs (_: opt: opt.isDefined) { inherit (options) aliases ipv4_address ipv6_address; }); default = lib.mapAttrs (k: opt: opt.value) (lib.filterAttrs (_: opt: opt.isDefined) { inherit (options) aliases ipv4_address ipv6_address link_local_ips priority; });
}; };
aliases = mkOption { aliases = mkOption {
type = listOf str; type = listOf str;
@ -275,6 +275,14 @@ in
type = str; type = str;
description = serviceRef "ipv4_address-ipv6_address"; description = serviceRef "ipv4_address-ipv6_address";
}; };
link_local_ips = mkOption {
type = listOf str;
description = serviceRef "link_local_ips";
};
priority = mkOption {
type = int;
description = serviceRef "priority";
};
}; };
}); });
in in