modules/programs: fix that whitelistPwd wasnt passed into the sandbox profile

This commit is contained in:
Colin 2024-01-28 09:04:27 +00:00
parent 40fee97b06
commit 42f9fa029d

View File

@ -43,7 +43,7 @@ let
in
makeSandboxed {
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;
allowedHomePaths = builtins.attrNames fs ++ builtins.attrNames persist.byPath ++ sandbox.extraHomePaths;
allowedRootPaths = [