keep TMUX variable across sudo invocations

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-21 10:12:49 +01:00
parent 91c1ea9e64
commit c3499594fc
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -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"
'';
} }