programs.tmux: implement secureSocket
This commit is contained in:
parent
995fa3af36
commit
652c694244
4 changed files with 30 additions and 1 deletions
17
tests/modules/programs/tmux/secure-socket-enabled.nix
Normal file
17
tests/modules/programs/tmux/secure-socket-enabled.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ 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}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue