server-config/hardware-configuration.nix

13 lines
280 B
Nix
Raw Permalink Normal View History

2021-10-23 01:00:32 -07:00
{ modulesPath, ... }:
{
imports = [ "${modulesPath}/profiles/qemu-guest.nix" ];
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
swapDevices = [
{
device = "/var/lib/swapfile";
size = 2*1024;
}
];
2021-10-23 01:00:32 -07:00
}