diff --git a/machines/modules/malobeo/microvm_host.nix b/machines/modules/malobeo/microvm_host.nix index dae2e89..7ff90ac 100644 --- a/machines/modules/malobeo/microvm_host.nix +++ b/machines/modules/malobeo/microvm_host.nix @@ -29,9 +29,8 @@ in inputs.microvm.nixosModules.host ]; - config = mkIf cfg.enableHostBridge - { - systemd.network = { + config = { + systemd.network = mkIf cfg.enableHostBridge { enable = true; # create a bride device that all the microvms will be connected to netdevs."10-microvm".netdevConfig = {