nix/hosts/lyra/hardware-configuration.nix

37 lines
1 KiB
Nix
Raw Normal View History

2026-02-15 10:42:00 +00:00
# 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-02-15 10:42:00 +00:00
2026-03-03 04:26:35 +00:00
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
2026-02-15 10:42:00 +00:00
2026-03-03 04:26:35 +00:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/1bc53888-6db8-46df-aa28-975b710c5de8";
fsType = "ext4";
};
2026-02-15 10:42:00 +00:00
2026-03-03 04:26:35 +00:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/12CE-A600";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
2026-02-15 10:42:00 +00:00
2026-03-03 04:26:35 +00:00
swapDevices = [
{device = "/dev/disk/by-uuid/60643004-6916-46b3-8655-66fdc28cf5ad";}
];
2026-02-15 10:42:00 +00:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}