From 9bbe612dd70a88954a7100dfb048f1cbe1c81049 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 12 Jun 2021 19:08:28 +0200 Subject: ... --- accounts/gkleen@sif/zshrc | 4 ++++ installer.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index d4d75073..9fe88163 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc @@ -395,6 +395,10 @@ u2wdb() { ssh -t postgres@uniworxdb2 psql uni2work } +ssh-installer() { + ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentityFile=~/.ssh/gkleen@sif.midgard.yggdrasil $@ +} + alias '..'='cd ..' alias -g L='| less' alias -g S='&> /dev/null' diff --git a/installer.nix b/installer.nix index 3987e8ab..3fbb83c4 100644 --- a/installer.nix +++ b/installer.nix @@ -4,6 +4,8 @@ ]; config = { + networking.wireless.enable = false; + networking.firewall = { enable = true; allowedTCPPorts = [ 22 # ssh -- cgit v1.2.3