summaryrefslogtreecommitdiff
path: root/hosts/toaster
diff options
context:
space:
mode:
authorGrigory Shipunov2023-04-12 19:48:20 +0200
committerGrigory Shipunov2023-04-12 19:48:20 +0200
commitef2333cdae61df8195fea08421b4ca1c04a12898 (patch)
tree2428da2e9a573c9f3909014fa4a737d51e2e19b1 /hosts/toaster
parent6f42ac1eb3d8e1f74bb36ce12f2f85b3ccf37a82 (diff)
add dock network
Diffstat (limited to 'hosts/toaster')
-rw-r--r--hosts/toaster/network.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/toaster/network.nix b/hosts/toaster/network.nix
index 91450bd..26def6b 100644
--- a/hosts/toaster/network.nix
+++ b/hosts/toaster/network.nix
@@ -37,6 +37,14 @@
IPv6AcceptRA = true;
};
};
+ networks."10-dock" = {
+ matchConfig.Name = "enp5s0f4u1u1";
+ networkConfig = {
+ DHCP = "yes";
+ IPv6AcceptRA = true;
+ };
+ dhcpV4Config = { RouteMetric = 666; };
+ };
networks."10-wlan" = {
# matchConfig.MACAddress = "04:7b:cb:2a:aa:8c";
matchConfig.Name = "wlan0";