nix-home/nki-personal-do/hardware-configuration.nix
2021-11-08 17:20:46 -05:00

11 lines
293 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"; } ];
}