nix: expose no_new_session in module
All checks were successful
test / test (push) Successful in 14s

Useful for shells and terminal programs like chat clients.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-11-28 00:19:06 +09:00
parent b291f0b710
commit 95668ac998
3 changed files with 27 additions and 1 deletions

View File

@@ -133,6 +133,7 @@ in
userns = mkEnableOption "userns within the sandbox";
mapRealUid = mkEnableOption "mapping to fortify's real UID within the sandbox";
dev = mkEnableOption "access to all devices within the sandbox";
tty = mkEnableOption "allow access to the controlling terminal";
net = mkEnableOption "network access within the sandbox" // {
default = true;