Reorganize overlays
This commit is contained in:
parent
c58418bdee
commit
e4d783c045
10 changed files with 46 additions and 46 deletions
|
@ -7,6 +7,25 @@
|
|||
{ path = ".ssh/known_hosts"; type = "cache"; }
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
ssh = self.symlinkJoin {
|
||||
name = "openssh";
|
||||
paths = [
|
||||
(
|
||||
self.writeScriptBin "ssh" ''
|
||||
#!${self.zsh}/bin/zsh
|
||||
|
||||
export TERM=xterm-256color
|
||||
${super.openssh}/bin/ssh $@
|
||||
''
|
||||
)
|
||||
super.openssh
|
||||
];
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
home-manager.users.charlotte = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
ssh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue