nixos/meme-bingo-web: harden

This commit is contained in:
Anna Aurora 2025-02-23 17:47:56 +01:00
commit 4d2bb49e75
No known key found for this signature in database

View file

@ -89,6 +89,9 @@ in
InaccessiblePaths = [
"/dev/shm"
"/sys"
"/run/dbus"
"/run/user"
"/run/nscd"
];
LockPersonality = true;
PrivateDevices = true;
@ -124,6 +127,8 @@ in
RemoveIPC = true;
NoNewPrivileges = true;
MemoryDenyWriteExecute = true;
ExecPaths = [ "/nix/store" ];
NoExecPaths = [ "/" ];
};
};
};