ssh hm initial
This commit is contained in:
parent
d655186dc0
commit
a373c6f9bc
2 changed files with 38 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
../modules/linux-gui.nix
|
||||
../modules/devenv.nix
|
||||
../modules/gh-dash.nix
|
||||
../modules/ssh.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
|
|
|||
37
home-manager/modules/ssh.nix
Normal file
37
home-manager/modules/ssh.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# A modern replacement for 'ls'.
|
||||
{...}: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
hashKnownHosts = true;
|
||||
matchBlocks = {
|
||||
"router" = {
|
||||
hostname = "router.local.gwg313.xyz";
|
||||
identityFile = "/home/gwg313/.ssh/home/id_ed25519";
|
||||
};
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
identityFile = "/home/gwg313/.ssh/github/id_ed25519";
|
||||
};
|
||||
"candlekeep" = {
|
||||
hostname = "candlekeep.local.gwg313.xyz";
|
||||
user = "gwg313";
|
||||
identityFile = "/home/gwg313/.ssh/home/id_ed25519";
|
||||
};
|
||||
"candlekeep.zt" = {
|
||||
hostname = "candlekeep.zt"; # added to hosts in zerotier config
|
||||
user = "gwg313";
|
||||
identityFile = "/home/gwg313/.ssh/home/id_ed25519";
|
||||
};
|
||||
"grymforge" = {
|
||||
hostname = "grymforge.local.gwg313.xyz";
|
||||
user = "gwg313";
|
||||
identityFile = "/home/gwg313/.ssh/home/id_ed25519";
|
||||
};
|
||||
"grymforge.zt" = {
|
||||
hostname = "grymforge.zt"; # added to hosts in zerotier config
|
||||
user = "gwg313";
|
||||
identityFile = "/home/gwg313/.ssh/home/id_ed25519";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue