# 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, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-uuid/1cc58de9-aade-4aaf-8d3b-c659612039e1"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/BD43-650E"; fsType = "vfat"; }; fileSystems."/mnt/disk1" = { device = "/dev/disk/by-uuid/b1316977-02e3-4b33-9707-844e4e01f5cd"; fsType = "ext4"; }; fileSystems."/mnt/disk2" = { device = "/dev/disk/by-uuid/2a64ae71-a2cf-47a5-96df-0ae8ac068c0b"; fsType = "ext4"; }; fileSystems."/mnt/disk3" = { device = "/dev/disk/by-uuid/055e6037-da2a-49e8-a8bd-bde5832a7487"; fsType = "ext4"; }; fileSystems."/mnt/disk4" = { device = "/dev/disk/by-uuid/88c28cbd-8f96-408b-9405-9de7bdf0a675"; fsType = "ext4"; }; swapDevices = [ { device = "/dev/disk/by-uuid/b1e064ee-bfea-41ac-a8e1-ffc17b214de1"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; }; # Load nvidia driver for Xorg and Wayland services.xserver.videoDrivers = ["nvidia"]; }