From c686da8655bbdd4f0677bea788794e7b9f1d7dda Mon Sep 17 00:00:00 2001 From: Parnell Springmeyer Date: Thu, 1 Sep 2016 19:26:30 -0500 Subject: [PATCH] Updatig the chromium-suid-sandbox module --- nixos/modules/security/chromium-suid-sandbox.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/modules/security/chromium-suid-sandbox.nix b/nixos/modules/security/chromium-suid-sandbox.nix index 88fbe518c2de..6fe252136390 100644 --- a/nixos/modules/security/chromium-suid-sandbox.nix +++ b/nixos/modules/security/chromium-suid-sandbox.nix @@ -27,6 +27,10 @@ in config = mkIf cfg.enable { environment.systemPackages = [ sandbox ]; - security.setuidPrograms = [ sandbox.passthru.sandboxExecutableName ]; + security.permissionsWrappers.setuid = [ + { program = sandbox.passthru.sandboxExecutableName; + source = "${sandbox}/bin/${sandbox.passthru.sandboxExecutableName}"; + } + ]; }; }