diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-10-30 09:13:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-10-30 09:13:11 +0100 |
commit | 8167dec3203cc5e9751b799f751fe56ea2d655b7 (patch) | |
tree | 87cb2c8220bbb1edfe8fd2efd29de4ce115125dd /hosts/sif/libvirt | |
parent | 5d8436e8c8df1f552e017e924235ee7cc50c5b82 (diff) | |
download | nixos-8167dec3203cc5e9751b799f751fe56ea2d655b7.tar nixos-8167dec3203cc5e9751b799f751fe56ea2d655b7.tar.gz nixos-8167dec3203cc5e9751b799f751fe56ea2d655b7.tar.bz2 nixos-8167dec3203cc5e9751b799f751fe56ea2d655b7.tar.xz nixos-8167dec3203cc5e9751b799f751fe56ea2d655b7.zip |
...
Diffstat (limited to 'hosts/sif/libvirt')
-rw-r--r-- | hosts/sif/libvirt/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/sif/libvirt/default.nix b/hosts/sif/libvirt/default.nix index b5d95996..b42fa8fc 100644 --- a/hosts/sif/libvirt/default.nix +++ b/hosts/sif/libvirt/default.nix | |||
@@ -4,7 +4,10 @@ with flakeInputs.nixVirt.lib; | |||
4 | 4 | ||
5 | { | 5 | { |
6 | config = { | 6 | config = { |
7 | virtualisation.libvirtd.qemu.swtpm.enable = true; | 7 | virtualisation.libvirtd = { |
8 | qemu.swtpm.enable = true; | ||
9 | allowedBridges = ["virbr0" "gre-0971"]; | ||
10 | }; | ||
8 | virtualisation.libvirt = { | 11 | virtualisation.libvirt = { |
9 | enable = true; | 12 | enable = true; |
10 | swtpm.enable = true; | 13 | swtpm.enable = true; |