nix-home/nki-personal-do/hardware-configuration.nix
2022-05-31 17:01:35 +00:00

11 lines
291 B
Nix

{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/vda";
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
# swap
swapDevices = [{ device = "/var/swapfile"; }];
}