remove networkmanager and add ssh client config

This commit is contained in:
xbazzi 2025-02-05 17:08:46 -07:00
parent 63f76712f5
commit 00aa4f1984
2 changed files with 30 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ inputs, config, pkgs, ... }:
{
# Enable networking
networking.networkmanager.enable = true;
# networking.networkmanager.enable = true;
systemd.services."NetworkManager-wait-online" = {

View File

@ -2,8 +2,35 @@
{
programs.ssh.extraConfig = ''
Host prod1
HostName prod1
ForwardAgent yes
Port 22222
User xbazzi
PubkeyAuthentication yes
IdentityFile ~/.ssh/lan_id_ed25519
Host nas-mgmt
HostName nas-mgmt
ForwardAgent yes
User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519
Host nas
HostName nas
User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519
Host school
HostName school
IdentityFile ~/.ssh/lan_ed25519
HostName school
ForwardAgent yes
User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519
Host ext1-mgmt
HostName ext1-mgmt
ForwardAgent yes
User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519
'';
}