infrastructure/hosts/seedbox/reject/hardware-configuration.nix

19 lines
488 B
Nix

{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.kernelModules = [ "kvm-intel" ];
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/b18648f1-8147-4b85-a848-3578efa4ce6e";
fsType = "ext4";
};
services.qemuGuest.enable = true;
}