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

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