summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-06-07 13:27:42 -0500
committerChristian <[email protected]>2026-06-11 21:32:15 -0500
commit579ceca5df52b61a9f869ad95981b648365b8674 (patch)
tree387ebeb8339fcf3f29b786be5e04e87fae58f853
parent48c36cad2e823d426fddbce5223cd6f9bbef7df8 (diff)
Fix desktop MAC randomization and remove KVM from laptop
-rw-r--r--hosts/desktop/configuration.nix11
1 files 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";
}