home-manager/tests/modules/programs/tmux/secure-socket-enabled.nix
2019-04-04 17:14:29 -07:00

17 lines
325 B
Nix

{ 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}
'';
};
}