summaryrefslogtreecommitdiff
path: root/os/kay/modules
diff options
context:
space:
mode:
Diffstat (limited to 'os/kay/modules')
-rw-r--r--os/kay/modules/network.nix8
-rw-r--r--os/kay/modules/router.nix2
2 files changed, 7 insertions, 3 deletions
diff --git a/os/kay/modules/network.nix b/os/kay/modules/network.nix
index 929fb1b..339f15b 100644
--- a/os/kay/modules/network.nix
+++ b/os/kay/modules/network.nix
@@ -3,7 +3,7 @@
let
inetVlan = 722;
voipVlan = 1849;
- wanInterface = "enp4s0";
+ wanInterface = "enp3s0";
nameServer = "1.0.0.1";
in
{
@@ -32,7 +32,11 @@ in
};
};
- interfaces.${voipVlanIface}.useDHCP = true;
+ interfaces = {
+ ${voipVlanIface}.useDHCP = true;
+ ${wanInterface}.macAddress = "c4:54:44:d5:17:68";
+ };
+
dhcpcd.extraConfig = ''
interface ${voipVlanIface}
ipv4only
diff --git a/os/kay/modules/router.nix b/os/kay/modules/router.nix
index 45c9dff..0d01465 100644
--- a/os/kay/modules/router.nix
+++ b/os/kay/modules/router.nix
@@ -1,7 +1,7 @@
{ ... }: let
wanInterface = "ppp0";
- lanInterface = "enp0s20u1";
+ lanInterface = "enp8s0f3u1";
subnet = "10.0.0.0";
prefix = 24;
host = "10.0.0.1";