aboutsummaryrefslogtreecommitdiffhomepage
path: root/options.nix
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-11-28 00:19:06 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-11-28 00:19:06 +0900
commit95668ac998b2212478df5a6114089fdf7e579f71 (patch)
treea16f020536bd5a440f03b3e2ba937802138aa46a /options.nix
parentb291f0b71065a9dc18a956f741775806409e6dee (diff)
nix: expose no_new_session in module
Useful for shells and terminal programs like chat clients. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'options.nix')
-rw-r--r--options.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.nix b/options.nix
index 5f0d67f9..adf19f4a 100644
--- a/options.nix
+++ b/options.nix
@@ -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;