aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-06-21 04:20:00 -0500
committerRobert Helgesson <robert@rycee.net>2020-06-22 19:34:52 +0200
commit8ab113989126d738691ad70394ad5d0a57dab462 (patch)
tree73273b04671889d01d8cb09939ecdc2a5e9ccdfd /modules
parent1f174f668109765183f96b43d56ee24ab02c1c05 (diff)
tmux: only enable secureSocket on Linux by default
Darwin does not have the `/run/user` directory. PR #1349
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/tmux.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix
index b3aa53bca82..a71c302ac6f 100644
--- a/modules/programs/tmux.nix
+++ b/modules/programs/tmux.nix
@@ -251,7 +251,7 @@ in
};
secureSocket = mkOption {
- default = true;
+ default = pkgs.stdenv.isLinux;
type = types.bool;
description = ''
Store tmux socket under <filename>/run</filename>, which is more