photoprism-test-vm/hardware.nix

16 lines
406 B
Nix
Raw Permalink Normal View History

2024-10-08 23:50:47 +02:00
{ lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2024-10-09 17:07:27 +02:00
boot.initrd.availableKernelModules =
[ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
2024-10-08 23:50:47 +02:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
networking.useDHCP = lib.mkDefault false;
2024-10-08 23:50:47 +02:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}