| 1 | { config, lib, modulesPath, ... }: |
| 2 | { |
| 3 | imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; |
| 4 | boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; |
| 5 | boot.kernelModules = [ "kvm-amd" ]; |
| 6 | fileSystems."/" = { |
| 7 | device = "/dev/disk/by-uuid/ac86c41d-e621-4d6f-894d-adf26c421f06"; |
| 8 | fsType = "ext4"; |
| 9 | }; |
| 10 | fileSystems."/boot" = { |
| 11 | device = "/dev/disk/by-uuid/F4BE-0109"; |
| 12 | fsType = "vfat"; |
| 13 | options = [ "fmask=0077" "dmask=0077" ]; |
| 14 | }; |
| 15 | nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; |
| 16 | hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
| 17 | } |