diff options
| author | Christian <[email protected]> | 2026-01-28 20:15:06 -0600 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-01-28 20:15:06 -0600 |
| commit | dd286caa25a8975bbe190c0a374155180022e347 (patch) | |
| tree | d836c01f5d511cf298ed888666b3970ddeb56188 /hosts/laptop/hardware-configuration.nix | |
| parent | ffea2846e2de5da72c890d4e48118959857d122e (diff) | |
Laptop: Necessary changes to boot
Diffstat (limited to 'hosts/laptop/hardware-configuration.nix')
| -rw-r--r-- | hosts/laptop/hardware-configuration.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix new file mode 100644 index 0000000..291f635 --- /dev/null +++ b/hosts/laptop/hardware-configuration.nix @@ -0,0 +1,30 @@ +# 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" "nvme" "rtsx_pci_sdmmc" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/56ae0488-d952-41d8-8128-60a46e979d91"; + fsType = "ext4"; + }; + + fileSystems."/boot/efi" = + { device = "/dev/disk/by-label/ESP"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
