Fix emacs and tmux envvars
This commit is contained in:
parent
842f33692e
commit
1f0f232320
|
@ -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; [
|
||||||
|
|
|
@ -73,5 +73,9 @@
|
||||||
EDITOR = "emacsclient";
|
EDITOR = "emacsclient";
|
||||||
VISUAL = "emacsclient";
|
VISUAL = "emacsclient";
|
||||||
};
|
};
|
||||||
|
systemd.user.sessionVariables = {
|
||||||
|
EDITOR = "emacsclient";
|
||||||
|
VISUAL = "emacsclient";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue