nix/hosts/arcturus/hardware-configuration.nix

37 lines
1 KiB
Nix
Raw Normal View History

# 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.
{
2026-03-03 04:26:35 +00:00
config,
lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2026-03-03 04:26:35 +00:00
boot.initrd.availableKernelModules = ["ahci" "ehci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
2026-03-03 04:26:35 +00:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/7f22e35f-7536-49c4-9c04-88874e87f266";
fsType = "btrfs";
};
2026-03-03 04:26:35 +00:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/0213-F9A0";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
2026-03-03 04:26:35 +00:00
swapDevices = [
{device = "/dev/disk/by-uuid/0d04172b-aed8-42ea-9cb8-e5dcbf960200";}
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}