{ inputs, config, lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480 ]; boot = { kernelModules = ["kvm-intel"]; extraModulePackages = []; loader = { systemd-boot = { enable = true; configurationLimit = 8; }; efi = { canTouchEfiVariables = true; efiSysMountPoint = "/boot/efi"; }; }; initrd = { availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "sd_mod"]; kernelModules = []; }; }; fileSystems = { "/" = { device = "/dev/disk/by-uuid/825f1188-82bd-4a1d-9434-6b5dd29041c3"; fsType = "ext4"; }; "/boot/efi" = { device = "/dev/disk/by-uuid/59C2-1D06"; fsType = "vfat"; }; }; swapDevices = [ {device = "/dev/disk/by-uuid/d62dbf49-e51e-4823-a9cb-f2af486cd0f7";} ]; networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }