diff options
Diffstat (limited to '')
| -rw-r--r-- | system/virt/default.nix | 2 | ||||
| -rw-r--r-- | system/virt/docker.nix | 1 | ||||
| -rw-r--r-- | system/virt/qemu.nix | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/system/virt/default.nix b/system/virt/default.nix index d37b637..3b422be 100644 --- a/system/virt/default.nix +++ b/system/virt/default.nix @@ -1,4 +1,4 @@ -{...}: { +_: { imports = [ ./docker.nix ./qemu.nix diff --git a/system/virt/docker.nix b/system/virt/docker.nix index 97c57ad..9dcb7e2 100644 --- a/system/virt/docker.nix +++ b/system/virt/docker.nix @@ -1,7 +1,6 @@ { lib, config, - pkgs, ... }: let inherit (lib) mkIf; diff --git a/system/virt/qemu.nix b/system/virt/qemu.nix index 6c068e4..64ad8c6 100644 --- a/system/virt/qemu.nix +++ b/system/virt/qemu.nix @@ -17,5 +17,9 @@ in { environment.systemPackages = with pkgs; [ qemu ]; + + networking.firewall.trustedInterfaces = [ + "virbr0" + ]; }; } |