17 lines
526 B
Nix
17 lines
526 B
Nix
{ modulesPath, ... }:
|
|
{
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
boot.loader.grub = {
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
device = "nodev";
|
|
};
|
|
fileSystems."/boot" = { device = "/dev/disk/by-uuid/A368-4D28"; fsType = "vfat"; };
|
|
boot.initrd.kernelModules = [ "nvme" ];
|
|
fileSystems."/" = { device = "/dev/sda3"; fsType = "xfs"; };
|
|
swapDevices = [ {
|
|
device = "/dev/disk/by-partuuid/87bcc339-3295-4fc0-a219-1c31436b1c51";
|
|
randomEncryption.enable = true;
|
|
} ];
|
|
}
|