home-manager/tests/modules/programs/tmux/secure-socket-enabled.nix
2020-04-06 12:51:11 +02:00

20 lines
341 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
}
'';
};
}