write-ups-challenges-2020-2021/deployment/hardware-configuration.nix

7 lines
190 B
Nix
Raw Normal View History

2022-11-24 17:03:20 +00:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
}