mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
wrapper-manager/sandboxing/bubblewrap: fix options
This commit is contained in:
parent
456c5e771c
commit
20b483fda4
@ -18,7 +18,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs) stdenv;
|
||||
cfg = config.sandboxing.bubblewrap;
|
||||
|
||||
bubblewrapModuleFactory = { isGlobal ? false }: {
|
||||
@ -40,7 +39,7 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
enableNetwork = lib.mkEnableOption "sharing of the host network" // lib.optionalAttrs isGlobal {
|
||||
enableNetwork = lib.mkEnableOption "sharing of the host network" // {
|
||||
default = if isGlobal then true else cfg.enableNetwork;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user