2022-04-13 04:08:31 +02:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
2022-04-15 19:33:21 +02:00
|
|
|
[
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
2022-04-13 04:08:31 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2022-04-15 19:33:21 +02:00
|
|
|
{
|
2022-05-23 05:17:55 +02:00
|
|
|
device = "/dev/disk/by-label/NIXROOT";
|
2022-04-13 04:08:31 +02:00
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2022-04-15 19:33:21 +02:00
|
|
|
{
|
2022-05-23 05:17:55 +02:00
|
|
|
device = "/dev/disk/by-label/NIXBOOT";
|
2022-04-13 04:08:31 +02:00
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
2022-04-15 19:33:21 +02:00
|
|
|
swapDevices = [ ];
|
2022-04-13 04:08:31 +02:00
|
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
# high-resolution display
|
|
|
|
hardware.video.hidpi.enable = lib.mkDefault true;
|
|
|
|
}
|