totoro: set up libvirt
This commit is contained in:
parent
2ce89355c3
commit
78fee25f20
1 changed files with 8 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue