lib/misc: add umask to serviceHardened

This commit is contained in:
Lu Wang 2024-12-20 16:36:02 +08:00
parent 898ce2046d
commit 13d8ed5901
Signed by: rebmit
SSH key fingerprint: SHA256:3px8QV1zEerIrEWHaqtH5rR9kjetyRST5EipOPrd+bU

View file

@ -33,4 +33,5 @@ lib.mapAttrs (_k: lib.mkOptionDefault) {
SystemCallArchitectures = "native";
SystemCallErrorNumber = "EPERM";
SystemCallFilter = [ "@system-service" ];
UMask = "0077";
}