From 579ceca5df52b61a9f869ad95981b648365b8674 Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 7 Jun 2026 13:27:42 -0500 Subject: Fix desktop MAC randomization and remove KVM from laptop --- hosts/desktop/configuration.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 62a4147..8d2da6f 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -27,9 +27,9 @@ networking.hostName = "desktop"; networking.wireless.iwd.enable = true; - networking.wireless.iwd.settings = { - General.EnableNetworkConfiguration = true; - }; + networking.networkmanager.wifi.backend = "iwd"; + networking.networkmanager.wifi.macAddress = "permanent"; + networking.wireless.iwd.settings.General.AddressRandomization = "disabled"; networking.nameservers = [ "1.1.1.1" "8.8.8.8" @@ -37,10 +37,5 @@ services.xserver.videoDrivers = [ "amdgpu" ]; - networking.firewall.extraCommands = '' - iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to 192.168.111.111:3389 - iptables -I FORWARD -p tcp -d 192.168.111.111 --dport 3389 -j ACCEPT - ''; - system.stateVersion = "25.11"; } -- cgit v1.2.3