diff options
author | Karel Kočí <cynerd@email.cz> | 2024-02-16 00:09:45 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-02-16 00:09:45 +0100 |
commit | 35733c66454cf0ce153a9730be77d51223397933 (patch) | |
tree | db14a5047b79b58a7826706726cc3d4ba3d395da /nixos/machine | |
parent | d917306c4d7edd246c4906649455dde7c120c038 (diff) | |
download | nixos-personal-35733c66454cf0ce153a9730be77d51223397933.tar.gz nixos-personal-35733c66454cf0ce153a9730be77d51223397933.tar.bz2 nixos-personal-35733c66454cf0ce153a9730be77d51223397933.zip |
nixos/spt-omnia: migrate to nixos
Diffstat (limited to 'nixos/machine')
-rw-r--r-- | nixos/machine/spt-omnia.nix | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/nixos/machine/spt-omnia.nix b/nixos/machine/spt-omnia.nix index 15cabb6..c0a6ec2 100644 --- a/nixos/machine/spt-omnia.nix +++ b/nixos/machine/spt-omnia.nix @@ -47,31 +47,35 @@ with lib; { }; "end2.848" = { matchConfig.Name = "end2.848"; + networkConfig.BindCarrier = "end2"; + }; + "pppoe-wan" = { + matchConfig.Name = "pppoe-wan"; networkConfig = { - BindCarrier = "end2"; - #DHCP = "ipv6"; - #IPv6AcceptRA = "yes"; - #DHCPPrefixDelegation = "yes"; + BindCarrier = "end2.848"; + DHCP = "ipv6"; + IPv6AcceptRA = "yes"; + DHCPPrefixDelegation = "yes"; + }; + dhcpPrefixDelegationConfig = { + UplinkInterface = ":self"; + SubnetId = 0; + Announce = "no"; }; - #dhcpPrefixDelegationConfig = { - # UplinkInterface = ":self"; - # SubnetId = 0; - # Announce = "no"; - #}; linkConfig.RequiredForOnline = "routable"; }; "lan-brlan" = { matchConfig.Name = "lan*"; networkConfig.Bridge = "brlan"; - bridgeVLANs = [ - { - bridgeVLANConfig = { - EgressUntagged = 1; - PVID = 1; - }; - } - {bridgeVLANConfig.VLAN = 2;} - ]; + #bridgeVLANs = [ + # { + # bridgeVLANConfig = { + # EgressUntagged = 1; + # PVID = 1; + # }; + # } + # {bridgeVLANConfig.VLAN = 2;} + #]; }; }; }; |