# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; hardware.nvidia = { open = true; prime = { offload.enable = false; sync.enable = false; # Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA intelBusId = "PCI:0:2:0"; # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA nvidiaBusId = "PCI:1:0:0"; }; }; boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "nouveau" ]; boot.extraModulePackages = [ ]; fileSystems = { "/" = { device = "/dev/disk/by-uuid/ec151a68-5886-4747-b5e3-2f9bdb89e162"; fsType = "btrfs"; options = [ "subvol=@" ]; }; "/boot" = { device = "/dev/disk/by-uuid/8EED-43E3"; fsType = "vfat"; }; "/media/gaming" = { device = "/dev/disk/by-uuid/4038F97238F966F6"; fsType = "ntfs"; options = [ "rw" "uid=1000" ]; }; }; swapDevices = [ ]; #nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }