2024-04-17 14:53:48 -04:00
|
|
|
{
|
|
|
|
modulesPath,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
2023-06-23 09:25:35 -04:00
|
|
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
2024-01-04 14:41:38 -05:00
|
|
|
|
2024-02-06 10:47:23 -05:00
|
|
|
zramSwap.enable = true;
|
|
|
|
|
2024-02-01 15:48:47 -05:00
|
|
|
boot = {
|
|
|
|
tmp.cleanOnBoot = true;
|
|
|
|
loader.grub = {
|
|
|
|
efiSupport = true;
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
device = "nodev";
|
|
|
|
};
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
|
|
|
|
kernelModules = ["nvme"];
|
|
|
|
};
|
2023-11-29 23:04:57 -05:00
|
|
|
};
|
2024-01-04 14:41:38 -05:00
|
|
|
|
2024-02-01 15:48:47 -05:00
|
|
|
fileSystems = {
|
|
|
|
"/" = {
|
|
|
|
device = "/dev/sda1";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/B793-1B2C";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2023-06-23 09:25:35 -04:00
|
|
|
};
|
2024-04-17 14:53:48 -04:00
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2023-06-23 09:25:35 -04:00
|
|
|
}
|