From 5a367139ad660808366a941de1e42a72c1606ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 5 Apr 2024 09:40:38 +0200 Subject: Multiple improvements --- nixos/configurations/binky.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'nixos/configurations/binky.nix') diff --git a/nixos/configurations/binky.nix b/nixos/configurations/binky.nix index bdfa47e..6dfb6a5 100644 --- a/nixos/configurations/binky.nix +++ b/nixos/configurations/binky.nix @@ -5,6 +5,7 @@ in { deploy = { enable = true; default = false; + ssh.host = "binky.spt"; }; cynerd = { @@ -61,13 +62,22 @@ in { systemd.network = { networks = { "dhcp" = { - matchConfig.Name = "enp2s0f0 enp5s0f3u1u1 wlp3s0"; + matchConfig.Name = "enp2s0f0 enp5s0f3u1u1"; networkConfig = { DHCP = "yes"; IPv6AcceptRA = "yes"; }; linkConfig.RequiredForOnline = "routable"; }; + "dhcp-wlan" = { + matchConfig.Name = "wlp3s0"; + networkConfig = { + DHCP = "yes"; + IPv6AcceptRA = "yes"; + }; + routes = [{routeConfig.Metric = 1088;}]; + linkConfig.RequiredForOnline = "routable"; + }; }; wait-online.enable = false; }; -- cgit v1.2.3