1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 08:09:45 +01:00
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}
'';
};
}