{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix ../modules/common.nix ../modules/users.nix ../modules/locales.nix ../modules/services.nix ../modules/programs.nix ../modules/gaming.nix ../modules/obs-studio.nix ../modules/garbage-collection.nix ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages_latest; networking.hostName = "gandalf"; networking.networkmanager.enable = true; networking.nameservers = [ "192.168.68.56" "1.1.1.1" "8.8.8.8" ]; networking.interfaces.enp130s0.wakeOnLan.enable = true; networking.firewall.allowedUDPPorts = [ 9 ]; services.xserver.videoDrivers = ["nvidia"]; hardware = { graphics.enable = true; nvidia.modesetting.enable = true; nvidia.open = true; nvidia.nvidiaSettings = true; }; virtualisation.libvirtd.enable = true; services = { # Bluetooth fixes udev.extraRules = '' SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="0489", ENV{ID_MODEL_ID}=="e111", ENV{UDISKS_IGNORE}="1", ENV{ID_MEDIA_PLAYER}="", ENV{ID_MTP_DEVICE}="", ENV{ID_GPHOTO2}="", ENV{ID_INPUT}="", ENV{SOLID_IGNORE}="1", TAG-="uaccess" SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", ATTRS{idProduct}=="e111", ENV{DEVTYPE}=="usb_interface", ENV{UDISKS_IGNORE}="1", ENV{ID_MEDIA_PLAYER}="", ENV{ID_MTP_DEVICE}="", ENV{ID_GPHOTO2}="", ENV{ID_INPUT}="", ENV{SOLID_IGNORE}="1", TAG-="uaccess" SUBSYSTEM=="usb", KERNEL=="3-14:*", ENV{UDISKS_IGNORE}="1", ENV{ID_MEDIA_PLAYER}="", ENV{ID_MTP_DEVICE}="", ENV{ID_GPHOTO2}="", ENV{ID_INPUT}="", ENV{SOLID_IGNORE}="1", TAG-="uaccess" SUBSYSTEM=="usb", KERNELS=="3-14", ENV{UDISKS_IGNORE}="1", ENV{ID_MEDIA_PLAYER}="", ENV{ID_MTP_DEVICE}="", ENV{ID_GPHOTO2}="", ENV{SOLID_IGNORE}="1" ''; }; system.stateVersion = "25.11"; # Did you read the comment? }