nix-home/nki-personal-do/hardware-configuration.nix

11 lines
293 B
Nix
Raw Normal View History

2021-10-27 19:36:16 +00:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/vda";
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
2021-11-01 18:59:12 +00:00
# swap
swapDevices = [ { device = "/var/swapfile"; } ];
2021-10-27 19:36:16 +00:00
}