36 lines
872 B
Nix
36 lines
872 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
|
||
|
boot.initrd.availableKernelModules = [ "ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "sd_mod" ];
|
||
|
boot.kernelModules = [ "kvm-intel" ];
|
||
|
boot.extraModulePackages = [ ];
|
||
|
|
||
|
boot.initrd.luks.devices."root"=
|
||
|
{
|
||
|
name = "root";
|
||
|
device = "/dev/disk/by-uuid/962caed1-9dd5-4771-9a8f-3d3f5854af2e";
|
||
|
preLVM = true;
|
||
|
allowDiscards = true;
|
||
|
};
|
||
|
|
||
|
boot.loader.grub = {
|
||
|
device = "/dev/sda";
|
||
|
};
|
||
|
fileSystems."/" =
|
||
|
{ device = "/dev/disk/by-uuid/11fb2333-f06f-4970-9b74-a5287bab5058";
|
||
|
fsType = "ext4";
|
||
|
};
|
||
|
|
||
|
fileSystems."/boot" =
|
||
|
{ device = "/dev/disk/by-uuid/a8704d8b-e174-4bcd-9558-085a85ed1ceb";
|
||
|
fsType = "ext4";
|
||
|
};
|
||
|
|
||
|
swapDevices =
|
||
|
[ { device = "/dev/disk/by-uuid/43d05f3c-5f2b-42cf-b052-06b6a3e82c45"; }
|
||
|
];
|
||
|
|
||
|
nix.maxJobs = lib.mkDefault 2;
|
||
|
}
|