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