forked from mirrors_public/oddlama_nix-config
fix: only set gateway on services vlan
This commit is contained in:
parent
7c548d07cd
commit
1ee5b2aa1a
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ in
|
||||||
vlanCfg.hosts.sausebiene.cidrv4
|
vlanCfg.hosts.sausebiene.cidrv4
|
||||||
vlanCfg.hosts.sausebiene.cidrv6
|
vlanCfg.hosts.sausebiene.cidrv6
|
||||||
];
|
];
|
||||||
gateway = [ vlanCfg.hosts.ward.ipv4 ];
|
gateway = lib.optionals (vlanName == "services") [ vlanCfg.hosts.ward.ipv4 ];
|
||||||
matchConfig.Name = "vlan-${vlanName}";
|
matchConfig.Name = "vlan-${vlanName}";
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
IPv6PrivacyExtensions = "yes";
|
IPv6PrivacyExtensions = "yes";
|
||||||
|
|
|
@ -108,7 +108,7 @@ in
|
||||||
vlanCfg.hosts.sire.cidrv4
|
vlanCfg.hosts.sire.cidrv4
|
||||||
vlanCfg.hosts.sire.cidrv6
|
vlanCfg.hosts.sire.cidrv6
|
||||||
];
|
];
|
||||||
gateway = [ vlanCfg.hosts.ward.ipv4 ];
|
gateway = lib.optionals (vlanName == "services") [ vlanCfg.hosts.ward.ipv4 ];
|
||||||
matchConfig.Name = "me-${vlanName}";
|
matchConfig.Name = "me-${vlanName}";
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
IPv6PrivacyExtensions = "yes";
|
IPv6PrivacyExtensions = "yes";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue