Fix emacs and tmux envvars

This commit is contained in:
Nathan McCarty 2022-09-05 02:31:37 -04:00
parent 842f33692e
commit 1f0f232320
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 13 additions and 0 deletions

View File

@ -23,6 +23,15 @@ with lib;
# rsync for _The Cloud_ :tm: # rsync for _The Cloud_ :tm:
rclone rclone
]; ];
# Configure tmux
programs.tmux = {
enable = true;
aggressiveResize = true;
extraConfig = ''
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
'';
};
}) })
(mkIf config.nathan.programs.util.productivity { (mkIf config.nathan.programs.util.productivity {
home.packages = with pkgs; [ home.packages = with pkgs; [

View File

@ -73,5 +73,9 @@
EDITOR = "emacsclient"; EDITOR = "emacsclient";
VISUAL = "emacsclient"; VISUAL = "emacsclient";
}; };
systemd.user.sessionVariables = {
EDITOR = "emacsclient";
VISUAL = "emacsclient";
};
}; };
} }