totoro: set up libvirt

This commit is contained in:
Luke Granger-Brown 2020-06-28 22:22:43 +00:00
parent 2ce89355c3
commit 78fee25f20

View file

@ -43,7 +43,14 @@ in {
domain = "lukegb.xyz"; domain = "lukegb.xyz";
hostId = "676c08c4"; hostId = "676c08c4";
useDHCP = false; useDHCP = false;
interfaces.enp0s31f6.useDHCP = true; interfaces.br-ext.useDHCP = true;
bridges.br-ext.interfaces = [ "enp0s31f6" ];
};
# Virtualisation
virtualisation.libvirtd = {
enable = true;
allowedBridges = [ "virbr0" "br-ext" ];
}; };
system.stateVersion = "20.03"; system.stateVersion = "20.03";