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