summary refs log tree commit diff
path: root/nixos/modules/services/misc/weechat.xml
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2018-10-10 01:20:42 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2018-10-10 11:11:34 +0200
commit018573b7579b4212d7001bf6f0e9b31e1bdadb14 (patch)
tree0b8174228a67bf4da14a962fbb6f8e68ad13ffcd /nixos/modules/services/misc/weechat.xml
parentfc847785d89255fb34c32fb28212a66044f655f3 (diff)
downloadnixpkgs-018573b7579b4212d7001bf6f0e9b31e1bdadb14.tar
nixpkgs-018573b7579b4212d7001bf6f0e9b31e1bdadb14.tar.gz
nixpkgs-018573b7579b4212d7001bf6f0e9b31e1bdadb14.tar.bz2
nixpkgs-018573b7579b4212d7001bf6f0e9b31e1bdadb14.tar.lz
nixpkgs-018573b7579b4212d7001bf6f0e9b31e1bdadb14.tar.xz
nixpkgs-018573b7579b4212d7001bf6f0e9b31e1bdadb14.tar.zst
nixpkgs-018573b7579b4212d7001bf6f0e9b31e1bdadb14.zip
nixos/weechat: add setuid wrapper for `screen' to ensure true multiuser capabilities
Previously you either had to set the setuid bit yourself or workaround
`isSystemUser = true` (for a loginable shell) to access the weechat
screen.

`programs.screen` shouldn't do this by default to avoid taking too much
assumptions about the setup, however `services.weechat` explicitly
requires tihs.

See #45728
Diffstat (limited to 'nixos/modules/services/misc/weechat.xml')
-rw-r--r--nixos/modules/services/misc/weechat.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/weechat.xml b/nixos/modules/services/misc/weechat.xml
index 9c9ee0448c9..b7f755bbc5c 100644
--- a/nixos/modules/services/misc/weechat.xml
+++ b/nixos/modules/services/misc/weechat.xml
@@ -54,7 +54,7 @@
 </programlisting>
    Now, the session can be re-attached like this:
 <programlisting>
-screen -r weechat-screen
+screen -x weechat/weechat-screen
 </programlisting>
   </para>