You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
713 B
34 lines
713 B
{
|
|
imports = [
|
|
../common/optional/ephemeral-btrfs.nix
|
|
];
|
|
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [ "ata_piix" "sr_mod" "uhci_hcd" "virtio_blk" "virtio_pci" ];
|
|
};
|
|
loader.grub = {
|
|
enable = true;
|
|
version = 2;
|
|
device = "/dev/vda";
|
|
};
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-label/alcyone";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=boot" ];
|
|
};
|
|
|
|
swapDevices = [{
|
|
device = "/swap/swapfile";
|
|
size = 2048;
|
|
}];
|
|
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
|
|
virtualisation.hypervGuest.enable = true;
|
|
systemd.services.hv-kvp.unitConfig.ConditionPathExists = [ "/dev/vmbus/hv_kvp" ];
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
}
|
|
|