Libvirt: Difference between revisions

Zimward (talk | contribs)
add note that virt-manager needs swtpm in path to use emulated tpm
Sandro (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 38: Line 38:


{{file|||<nowiki>
{{file|||<nowiki>
boot.extraModprobeConfig = "options kvm_intel nested=1";
boot.extraModprobeConfig = ''
  options kvm_intel nested=1
'';
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}


Line 58: Line 60:
</syntaxhighlight>
</syntaxhighlight>


This will configure the default network to start automatically on boot and immediately activate it.
This will configure the default network to start automatically on boot and immediately activate it. You may need to whitelist the interface for the firewall like so:
 
{{File|3=networking.firewall.trustedInterfaces = [ "virbr0" ];|name=/etc/nixos/configuration.nix|lang=nix}}


==== Bridge networking ====
==== Bridge networking ====