home-manager/tests/modules/programs/tmux/secure-socket-enabled.nix

18 lines
325 B
Nix
Raw Normal View History

2019-04-05 00:04:24 +02:00
{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.tmux = {
enable = true;
secureSocket = true;
};
nmt.script = ''
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
assertFileContent home-path/etc/profile.d/hm-session-vars.sh ${./hm-session-vars.sh}
'';
};
}