1
0

hosts/carbon: Move net-dsl to seperate file

This commit is contained in:
clerie 2024-07-14 00:46:22 +02:00
parent 8e88006abe
commit 090e2d6e48
Signed by: clerie
GPG Key ID: BD9F56480870BAD2
2 changed files with 20 additions and 13 deletions

View File

@ -7,6 +7,7 @@
../../configuration/router
./dns.nix
./net-dsl.nix
./net-gastnetz.nix
./net-heimnetz.nix
./net-voip.nix
@ -32,19 +33,6 @@
{ address = "10.152.0.1"; prefixLength = 32; } # Anycast
];
# Network
## DSL-Uplink
networking.vlans."enp1s0.7" = {
id = 7;
interface = "enp1s0";
};
networking.vlans."enp3s0.7" = {
id = 7;
interface = "enp3s0";
};
networking.bridges."net-dsl".interfaces = [
"enp1s0.7"
"enp3s0.7"
];
## LTE-Uplink
networking.vlans."enp1s0.102" = {
id = 102;

19
hosts/carbon/net-dsl.nix Normal file
View File

@ -0,0 +1,19 @@
{ ... }:
{
## DSL-Uplink
networking.vlans."enp1s0.7" = {
id = 7;
interface = "enp1s0";
};
networking.vlans."enp3s0.7" = {
id = 7;
interface = "enp3s0";
};
networking.bridges."net-dsl".interfaces = [
"enp1s0.7"
"enp3s0.7"
];
}