modularize virtualization settings

This commit is contained in:
Fabian Montero 2024-12-02 14:34:37 -06:00
parent 99816f0d3f
commit ff1b655d3c
Signed by: fabian
GPG key ID: 1FFAC35E1798174F
3 changed files with 2 additions and 1 deletions

View file

@ -9,5 +9,6 @@
./yubikey.nix
./audio.nix
./graphics.nix
./virtualisation.nix
];
}

View file

@ -15,7 +15,6 @@ in {
virtualisation.libvirtd.qemu.ovmf.enable = true;
virtualisation.libvirtd.qemu.ovmf.packages = [pkgs.OVMFFull.fd];
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
# boot.kernelModules = [ "vfio" "vfio_iommu_type1" "vfio_pci" "vfio_virqfd" ];
# boot.kernelParams = [ "amd_iommu=on" "iommu=pt" "vfio-pci.ids=1002:699f,1002:aae0" "video=efifb:off" ];
virtualisation.libvirtd.onBoot = "start";

View file

@ -18,6 +18,7 @@
yubikey.enable = true;
audio.enable = true;
graphics.enable = true;
virtualisation.enable = true;
};
# Use the systemd-boot EFI boot loader.