activa virtualización
This commit is contained in:
parent
a628e2964d
commit
9853f29dd9
|
@ -57,7 +57,7 @@
|
|||
uid = 1002;
|
||||
group = "fabian";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "users" "wheel" "networkmanager" "dialout" ];
|
||||
extraGroups = [ "users" "wheel" "networkmanager" "dialout" "libvirtd" ];
|
||||
};
|
||||
groups.fabian.gid = 1002;
|
||||
};
|
||||
|
@ -81,6 +81,15 @@
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
virtualisation.libvirtd.qemu.package = pkgs.qemu_kvm;
|
||||
virtualisation.libvirtd.qemu.ovmf.enable = true;
|
||||
virtualisation.libvirtd.qemu.ovmf.package = pkgs.OVMFFull;
|
||||
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";
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
|
|
|
@ -45,7 +45,7 @@ pkgs: with pkgs; [
|
|||
usbutils
|
||||
units
|
||||
unzip
|
||||
virtualbox
|
||||
virt-manager
|
||||
vlc
|
||||
xclip
|
||||
xournalpp
|
||||
|
|
Loading…
Reference in a new issue