diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-12 19:08:28 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-12 19:08:28 +0200 |
commit | 9bbe612dd70a88954a7100dfb048f1cbe1c81049 (patch) | |
tree | 697db8ddce5ae0fabf81cf602e802cc53c242bc4 | |
parent | 324159f48e7eccd53c50cd36dcaa8bb2b2fb0f5a (diff) | |
download | nixos-9bbe612dd70a88954a7100dfb048f1cbe1c81049.tar nixos-9bbe612dd70a88954a7100dfb048f1cbe1c81049.tar.gz nixos-9bbe612dd70a88954a7100dfb048f1cbe1c81049.tar.bz2 nixos-9bbe612dd70a88954a7100dfb048f1cbe1c81049.tar.xz nixos-9bbe612dd70a88954a7100dfb048f1cbe1c81049.zip |
...
-rw-r--r-- | accounts/gkleen@sif/zshrc | 4 | ||||
-rw-r--r-- | installer.nix | 2 |
2 files changed, 6 insertions, 0 deletions
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() { | |||
395 | ssh -t postgres@uniworxdb2 psql uni2work | 395 | ssh -t postgres@uniworxdb2 psql uni2work |
396 | } | 396 | } |
397 | 397 | ||
398 | ssh-installer() { | ||
399 | ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentityFile=~/.ssh/gkleen@sif.midgard.yggdrasil $@ | ||
400 | } | ||
401 | |||
398 | alias '..'='cd ..' | 402 | alias '..'='cd ..' |
399 | alias -g L='| less' | 403 | alias -g L='| less' |
400 | alias -g S='&> /dev/null' | 404 | 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 @@ | |||
4 | ]; | 4 | ]; |
5 | 5 | ||
6 | config = { | 6 | config = { |
7 | networking.wireless.enable = false; | ||
8 | |||
7 | networking.firewall = { | 9 | networking.firewall = { |
8 | enable = true; | 10 | enable = true; |
9 | allowedTCPPorts = [ 22 # ssh | 11 | allowedTCPPorts = [ 22 # ssh |