From e12888edbdb0c04993074b088d651237a998c7af Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 14 Jul 2024 00:56:07 +0200 Subject: [PATCH] hosts/carbon: Move net-lte to seperate file --- hosts/carbon/configuration.nix | 7 +------ hosts/carbon/net-lte.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 hosts/carbon/net-lte.nix diff --git a/hosts/carbon/configuration.nix b/hosts/carbon/configuration.nix index d877a9e..b97e2fe 100644 --- a/hosts/carbon/configuration.nix +++ b/hosts/carbon/configuration.nix @@ -10,6 +10,7 @@ ./net-dsl.nix ./net-gastnetz.nix ./net-heimnetz.nix + ./net-lte.nix ./net-voip.nix ./ppp.nix ]; @@ -25,12 +26,6 @@ "; networking.useDHCP = false; - # Network - ## LTE-Uplink - networking.vlans."enp1s0.102" = { - id = 102; - interface = "enp1s0"; - }; networking.nat = { enableIPv6 = true; diff --git a/hosts/carbon/net-lte.nix b/hosts/carbon/net-lte.nix new file mode 100644 index 0000000..3a6f2d0 --- /dev/null +++ b/hosts/carbon/net-lte.nix @@ -0,0 +1,11 @@ +{ ... }: + +{ + + ## LTE-Uplink + networking.vlans."enp1s0.102" = { + id = 102; + interface = "enp1s0"; + }; + +}