modules/programs: fix that whitelistPwd wasnt passed into the sandbox profile
This commit is contained in:
parent
40fee97b06
commit
42f9fa029d
|
@ -43,7 +43,7 @@ let
|
||||||
in
|
in
|
||||||
makeSandboxed {
|
makeSandboxed {
|
||||||
inherit pkgName package;
|
inherit pkgName package;
|
||||||
inherit (sandbox) binMap capabilities embedProfile extraConfig method wrapperType;
|
inherit (sandbox) binMap capabilities embedProfile extraConfig method whitelistPwd wrapperType;
|
||||||
vpn = if net == "vpn" then vpn else null;
|
vpn = if net == "vpn" then vpn else null;
|
||||||
allowedHomePaths = builtins.attrNames fs ++ builtins.attrNames persist.byPath ++ sandbox.extraHomePaths;
|
allowedHomePaths = builtins.attrNames fs ++ builtins.attrNames persist.byPath ++ sandbox.extraHomePaths;
|
||||||
allowedRootPaths = [
|
allowedRootPaths = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user