[Rust] Moves cargo env to rust file [Nix] small cleanups [Terminal] Removes special Alacritty TERM override
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
{ pkgs, ...}:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
rust-analyzer
|
||||
rustfmt
|
||||
];
|
||||
|
||||
programs.zsh.envExtra = [
|
||||
". \"$HOME/.cargo/env\""
|
||||
];
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
envExtra = ''
|
||||
. "$HOME/.cargo/env"
|
||||
PATH=$PATH:$HOME/.local/bin
|
||||
GITHUB_USERNAME=periodic
|
||||
'';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
services.ssh-agent.enable = true;
|
||||
|
||||
@@ -97,19 +97,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
setEnv = {
|
||||
# Alacritty sets it's terminfo to 'alacritty' so that environments can have
|
||||
# complete functionality support. However, this doesn't work well when making
|
||||
# remove connections. So we set it to 'xterm-256color' which is a more common
|
||||
# terminfo.
|
||||
"TERM" = "xterm-256color";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user