{ config, lib, pkgs, inputs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ../../modules/common.nix ../../modules/llm.nix # ../../modules/local-llm.nix ../../modules/kvm.nix ]; boot.loader.grub = { enable = true; device = "nodev"; efiSupport = true; }; boot.loader.efi.canTouchEfiVariables = false; boot.loader.efi.efiSysMountPoint = "/boot/efi"; custom.wireguardAddress = "10.67.40.4/32"; networking.hostName = "desktop"; networking.wireless.iwd.enable = 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" ]; services.xserver.videoDrivers = [ "amdgpu" ]; networking.firewall.allowedTCPPorts = [ 3389 ]; networking.firewall.trustedInterfaces = [ "virbr0" ]; networking.nat = { enable = true; externalInterface = "wlan0"; internalInterfaces = [ "virbr0" ]; forwardPorts = [ { destination = "192.168.111.111:3389"; proto = "tcp"; sourcePort = 3389; } ]; }; system.stateVersion = "25.11"; }