l 2 browsers: use new setuid location
This commit is contained in:
parent
984a21d274
commit
567668c6c9
@ -20,7 +20,7 @@ let
|
|||||||
createChromiumUser = name: extraGroups:
|
createChromiumUser = name: extraGroups:
|
||||||
let
|
let
|
||||||
bin = pkgs.writeScriptBin name ''
|
bin = pkgs.writeScriptBin name ''
|
||||||
/var/setuid-wrappers/sudo -u ${name} -i ${pkgs.chromium}/bin/chromium $@
|
/var/run/wrappers/bin/sudo -u ${name} -i ${pkgs.chromium}/bin/chromium $@
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
users.extraUsers.${name} = {
|
users.extraUsers.${name} = {
|
||||||
@ -43,7 +43,7 @@ let
|
|||||||
createFirefoxUser = name: extraGroups:
|
createFirefoxUser = name: extraGroups:
|
||||||
let
|
let
|
||||||
bin = pkgs.writeScriptBin name ''
|
bin = pkgs.writeScriptBin name ''
|
||||||
/var/setuid-wrappers/sudo -u ${name} -i ${pkgs.firefox}/bin/firefox $@
|
/var/run/wrappers/bin/sudo -u ${name} -i ${pkgs.firefox}/bin/firefox $@
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
users.extraUsers.${name} = {
|
users.extraUsers.${name} = {
|
||||||
|
Loading…
Reference in New Issue
Block a user