nixos: add setuid wrappers for some networked filesystems' helpers

So that `user` mount option would work allowing normal users to mount
and umount stuff marked with it in `fileSystems.<name>.options`.
This commit is contained in:
Jan Malakhovski 2014-06-12 23:45:42 +00:00 committed by Michael Raskin
parent 8c9b6d932a
commit 26a4001a98

View File

@ -77,7 +77,9 @@ in
config = {
security.setuidPrograms =
[ "fusermount" "wodim" "cdrdao" "growisofs" ];
[ "mount.nfs" "mount.nfs4" "mount.cifs"
"fusermount" "umount"
"wodim" "cdrdao" "growisofs" ];
system.activationScripts.setuid =
let