3
0
Fork 0
forked from mirrors/nixpkgs

hidepid service: use new boot.specialFileSystems

This commit is contained in:
Nikolay Amiantov 2016-08-31 17:16:30 +03:00
parent a4879c44c9
commit 4499a505ed

View file

@ -20,6 +20,6 @@ with lib;
config = mkIf config.security.hideProcessInformation {
users.groups.proc.gid = config.ids.gids.proc;
fileSystems."/proc".options = [ "hidepid=2" "gid=${toString config.ids.gids.proc}" ];
boot.specialFileSystems."/proc".options = [ "hidepid=2" "gid=${toString config.ids.gids.proc}" ];
};
}