mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
wrapper-manager/sandboxing/bubblewrap: fix dbus submodule
We really have to have some testing infrastructure in this project. :(
This commit is contained in:
parent
193d587d07
commit
99e272efa9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user