diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-01 00:01:00 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-01 00:01:00 +0100 |
| commit | 49423b9a43e26d437124faff73470d30e8830be6 (patch) | |
| tree | c375cb0e7a22260382de4aa72f7b9f3e264f1a23 /hardware-configuration.nix | |
initial commit 2: electric boogaloo
Diffstat (limited to 'hardware-configuration.nix')
| -rwxr-xr-x | hardware-configuration.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100755 index 0000000..8419d66 --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,31 @@ +# 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" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/f62daee8-ba51-478c-97db-c8b96c12043e"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/22BE-C329"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
