2022-03-10 12:25:23 +00:00
|
|
|
{ config, lib, pkgs, inputs, ... }: {
|
2021-06-26 19:12:31 +01:00
|
|
|
boot = {
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
|
|
|
|
initrd = {
|
|
|
|
kernelModules = [ "dm-snapshot" ];
|
2022-03-10 12:25:23 +00:00
|
|
|
availableKernelModules =
|
|
|
|
[ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
2021-06-26 19:12:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."crypt".device = "replaceme";
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "replaceme";
|
|
|
|
fsType = "btrfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "replaceme";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
nix.maxJobs = 2;
|
|
|
|
nix.buildCores = 6;
|
|
|
|
}
|