nixos-config/hosts/web/hardware-configuration.nix

9 lines
279 B
Nix
Raw Normal View History

2022-05-26 10:55:06 +00:00
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/sda";
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda2"; fsType = "ext4"; };
swapDevices = [ { device = "/dev/sda3"; } ];
}