summaryrefslogtreecommitdiff
path: root/os/kay/modules/network.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-11-17 11:34:51 +0530
committersinanmohd <sinan@sinanmohd.com>2024-11-17 12:55:20 +0530
commitf4a087e5ebeb34ec11e7b29577a325255f613286 (patch)
tree619166b678abe82475d564f06c3f9fcc4bdd0630 /os/kay/modules/network.nix
parent0bdaac634da5e187fae86ec25ff0f7390d3a0042 (diff)
kay: reborn, update hw
Diffstat (limited to 'os/kay/modules/network.nix')
-rw-r--r--os/kay/modules/network.nix8
1 files changed, 6 insertions, 2 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