mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
32 lines
752 B
Nix
32 lines
752 B
Nix
{modulesPath, ...}: {
|
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
|
zramSwap.enable = true;
|
|
fileSystems = {
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/92B6-AAE1";
|
|
fsType = "vfat";
|
|
};
|
|
"/" = {
|
|
device = "/dev/sda3";
|
|
fsType = "xfs";
|
|
};
|
|
};
|
|
swapDevices = [{device = "/dev/sda2";}];
|
|
boot = {
|
|
supportedFilesystems = ["xfs"];
|
|
tmp.cleanOnBoot = true;
|
|
initrd = {
|
|
availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"];
|
|
kernelModules = ["nvme"];
|
|
};
|
|
loader = {
|
|
grub = {
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
device = "nodev";
|
|
configurationLimit = 1;
|
|
};
|
|
systemd-boot.configurationLimit = 1;
|
|
};
|
|
};
|
|
}
|