diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 5a6cb0a..7faa6ba 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -1,32 +1,45 @@ # 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, ... }: +{ + config, + lib, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "rtsx_pci_sdmmc" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "ahci" + "nvme" + "rtsx_pci_sdmmc" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/d831b1a8-084b-422c-a8ba-8b746a538d15"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/d831b1a8-084b-422c-a8ba-8b746a538d15"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/9EB2-5EE3"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/7c16e538-9246-451f-b9cb-d486c628b206"; } + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/9EB2-5EE3"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" ]; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/7c16e538-9246-451f-b9cb-d486c628b206"; } + ]; # 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 @@ -40,14 +53,7 @@ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.graphics = { - enable = true; - enable32Bit = true; + enable = true; + enable32Bit = true; }; - - # boot = { - # blacklistedKernelModules = [ "nouveau" ]; - # extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; - # intrd.kernelModules = [ "nvidia" ]; - # }; - # hardware.nvidia.modesetting.enable = true; }