alias the vpn ips into config because mirroring mdns is hard
This commit is contained in:
parent
d22e2f4934
commit
27aa71ed8a
|
@ -4,6 +4,7 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
./ssh
|
||||
./shell/helix
|
||||
./shell/zellij
|
||||
./shell/zsh.nix
|
||||
|
|
20
home-manager/shared/ssh/config
Normal file
20
home-manager/shared/ssh/config
Normal file
|
@ -0,0 +1,20 @@
|
|||
Host wheatley
|
||||
HostName 10.0.0.1
|
||||
User lillian
|
||||
Port 22
|
||||
|
||||
Host GLaDOS
|
||||
HostName 10.0.0.2
|
||||
User lillian
|
||||
Port 22
|
||||
|
||||
Host EDI
|
||||
HostName 10.0.0.3
|
||||
User lillian
|
||||
Port 22
|
||||
|
||||
Host Shodan
|
||||
HostName 10.0.0.4
|
||||
User lillian
|
||||
Port 22
|
||||
|
8
home-manager/shared/ssh/default.nix
Normal file
8
home-manager/shared/ssh/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{...}: {
|
||||
# TODO: make this dynamic instead of hard coded
|
||||
home.file."config" = {
|
||||
source = ./config;
|
||||
target = ".config/ssh/config";
|
||||
force = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue