# 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, inputs, lib, modulesPath, pkgs, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot = { initrd = { availableKernelModules = [ "nvme" "sd_mod" "usb_storage" "usbhid" "xhci_pci" ]; kernelModules = []; }; kernelModules = ["kvm-amd"]; }; hardware = { cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; enableAllFirmware = true; nvidia = { modesetting.enable = true; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; }; opengl = { driSupport = true; driSupport32Bit = true; }; }; services.xserver.videoDrivers = ["nvidia"]; networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }