keep TMUX variable across sudo invocations
This commit is contained in:
parent
91c1ea9e64
commit
c3499594fc
1 changed files with 4 additions and 0 deletions
|
@ -39,4 +39,8 @@
|
||||||
console.keyMap = "neo";
|
console.keyMap = "neo";
|
||||||
|
|
||||||
programs.gnupg.agent.enable = true;
|
programs.gnupg.agent.enable = true;
|
||||||
|
|
||||||
|
security.sudo.extraConfig = ''
|
||||||
|
Defaults env_keep += "TMUX"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue