aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixos.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 /nixos.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 'nixos.nix')
-rw-r--r--nixos.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos.nix b/nixos.nix
index 3b35a5c7..5e5593d4 100644
--- a/nixos.nix
+++ b/nixos.nix
@@ -123,6 +123,7 @@ in
env
;
map_real_uid = app.mapRealUid;
+ no_new_session = app.tty;
filesystem =
[
{ src = "/bin"; }