mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 16:47:23 +08:00
ssh alias
This commit is contained in:
parent
81375b880b
commit
efd96e604c
1 changed files with 10 additions and 2 deletions
12
home.nix
12
home.nix
|
|
@ -117,8 +117,7 @@ in
|
|||
h = "${himalaya}/bin/himalaya";
|
||||
em = "TERM=xterm-direct emacs -nw";
|
||||
};
|
||||
sessionVariables = {
|
||||
};
|
||||
sessionVariables = { };
|
||||
};
|
||||
|
||||
starship = {
|
||||
|
|
@ -131,6 +130,15 @@ in
|
|||
jq.enable = true;
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"p71" = {
|
||||
hostname = "192.168.2.24";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue