25 lines
705 B
Nix
25 lines
705 B
Nix
{ inputs, ... }: {
|
|
flake.modules.nixos.tux-hardware = {
|
|
imports = with inputs.self.modules.nixos; [
|
|
intel-gpu
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
"xhci_pci"
|
|
"nvme"
|
|
"usb_storage"
|
|
"sd_mod"
|
|
"sdhci_pci"
|
|
];
|
|
boot.initrd.luks.devices."luks-9d836ef1-a7f9-430f-8fb8-f202f6336e5a".device =
|
|
"/dev/disk/by-uuid/9d836ef1-a7f9-430f-8fb8-f202f6336e5a";
|
|
boot.initrd.luks.devices."luks-46e78828-ab23-48b8-8e2a-de7a21adbe24".device =
|
|
"/dev/disk/by-uuid/46e78828-ab23-48b8-8e2a-de7a21adbe24";
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
};
|
|
}
|