diff --git a/modules/wrapper-manager/sandboxing/bubblewrap/dbus-filter.nix b/modules/wrapper-manager/sandboxing/bubblewrap/dbus-filter.nix index d904f85e..3b8f004f 100644 --- a/modules/wrapper-manager/sandboxing/bubblewrap/dbus-filter.nix +++ b/modules/wrapper-manager/sandboxing/bubblewrap/dbus-filter.nix @@ -149,16 +149,16 @@ in }; }; }; - - config = lib.mkIf (config.sandboxing.variant == "bubblewrap") { - sandboxing.bubblewrap.dbus.filter.extraArgs = - let - makeDbusProxyArgs = address: metadata: - [ address metadata.path ] ++ metadata.extraArgs; - in - lib.lists.flatten (lib.mapAttrsToList makeDbusProxyArgs submoduleCfg.dbus.filter.addresses); - }; }; + + config = lib.mkIf (config.sandboxing.variant == "bubblewrap") { + sandboxing.bubblewrap.dbus.filter.extraArgs = + let + makeDbusProxyArgs = address: metadata: + [ address metadata.path ] ++ metadata.extraArgs; + in + lib.lists.flatten (lib.mapAttrsToList makeDbusProxyArgs submoduleCfg.dbus.filter.addresses); + }; }; in lib.mkOption {