Wrap ssh so that we use a TERM commonly known by servers
This commit is contained in:
parent
0ad479c124
commit
0a88804fc0
2 changed files with 19 additions and 6 deletions
|
@ -45,6 +45,22 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
htop
|
htop
|
||||||
inotify-tools
|
inotify-tools
|
||||||
|
(
|
||||||
|
symlinkJoin {
|
||||||
|
name = "openssh";
|
||||||
|
paths = [
|
||||||
|
(
|
||||||
|
pkgs.writeScriptBin "ssh" ''
|
||||||
|
#!${zsh}/bin/zsh
|
||||||
|
|
||||||
|
export TERM=xterm-256color
|
||||||
|
${openssh}/bin/ssh $@
|
||||||
|
''
|
||||||
|
)
|
||||||
|
openssh
|
||||||
|
];
|
||||||
|
}
|
||||||
|
)
|
||||||
unzip
|
unzip
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,15 +2,12 @@ with import <nixpkgs> {};
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
nixpkgs.overlays = [
|
home.packages = [
|
||||||
(
|
(
|
||||||
self: super: {
|
pkgs.neovim.override {
|
||||||
neovim = super.neovim.override {
|
configure = (import ./base.nix { inherit pkgs; });
|
||||||
configure = (import ./base.nix { pkgs = self; });
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
home.packages = [ pkgs.neovim ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue