tmux: only enable secureSocket on Linux by default

Darwin does not have the `/run/user` directory.

PR #1349
This commit is contained in:
Mario Rodas 2020-06-21 04:20:00 -05:00 committed by Robert Helgesson
parent 1f174f6681
commit 8ab1139891
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 1 additions and 1 deletions

View File

@ -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