forked from mirrors_public/oddlama_nix-config
chore: use auto-ip for microvms, change ipv6 address scheme
This commit is contained in:
parent
c789e2de36
commit
d18e86f981
4 changed files with 4 additions and 6 deletions
|
@ -706,7 +706,7 @@ in {
|
|||
};
|
||||
|
||||
macAcl = mkOption {
|
||||
default = "allow";
|
||||
default = "deny";
|
||||
type = types.enum ["deny" "allow" "radius"];
|
||||
apply = x:
|
||||
getAttr x {
|
||||
|
|
|
@ -201,8 +201,6 @@
|
|||
openFirewallRules = ["untrusted-to-local"];
|
||||
};
|
||||
linkName = "local-vms";
|
||||
ipv4 = net.cidr.host vmCfg.id cfg.networking.wireguard.cidrv4;
|
||||
ipv6 = net.cidr.host vmCfg.id cfg.networking.wireguard.cidrv6;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -246,7 +244,7 @@ in {
|
|||
cidrv6 = mkOption {
|
||||
type = net.types.cidrv6;
|
||||
description = mdDoc "The ipv6 network address range to use for internal vm traffic.";
|
||||
default = "fddd::/64";
|
||||
default = "fd00:172:31::/120";
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue