diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-11 12:04:25 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-11 12:04:25 +0100 |
commit | cf674cf7c1598b8c412e81c454760cbf4f97decd (patch) | |
tree | 976545e42c03211e9f66734aa686df873af64700 /accounts/gkleen@sif | |
parent | c7700b540089d72f9fc4bfe46ecf79fa2b3a71ee (diff) | |
download | nixos-cf674cf7c1598b8c412e81c454760cbf4f97decd.tar nixos-cf674cf7c1598b8c412e81c454760cbf4f97decd.tar.gz nixos-cf674cf7c1598b8c412e81c454760cbf4f97decd.tar.bz2 nixos-cf674cf7c1598b8c412e81c454760cbf4f97decd.tar.xz nixos-cf674cf7c1598b8c412e81c454760cbf4f97decd.zip |
...
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 10 | ||||
-rw-r--r-- | accounts/gkleen@sif/zshrc | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index 897ad8ce..3af0b109 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix | |||
@@ -438,4 +438,14 @@ | |||
438 | { hostname = "math0d.mathinst.loc"; | 438 | { hostname = "math0d.mathinst.loc"; |
439 | proxyJump = "mathw0h"; | 439 | proxyJump = "mathw0h"; |
440 | }; | 440 | }; |
441 | "dhcp01" = | ||
442 | { hostname = "dhcp01.mathinst.loc"; | ||
443 | user = "root"; | ||
444 | proxyJump = "mathw0h"; | ||
445 | }; | ||
446 | "dhcp02" = | ||
447 | { hostname = "dhcp02.mathinst.loc"; | ||
448 | user = "root"; | ||
449 | proxyJump = "mathw0h"; | ||
450 | }; | ||
441 | } | 451 | } |
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index bda73d76..8b29b2d3 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc | |||
@@ -449,6 +449,7 @@ done < <(find ~/projects ~/uni -regextype posix-extended -maxdepth 2 -type d -re | |||
449 | sort -z -r -k2 | sort -z -s -k3 | uniq -z -f 2) | 449 | sort -z -r -k2 | sort -z -s -k3 | uniq -z -f 2) |
450 | 450 | ||
451 | alias '..'='cd ..' | 451 | alias '..'='cd ..' |
452 | alias rzadm=$'tmpdir -i sh -c \'mkdir adm; sshfs gkleen@mgmt01:/adm adm\'' | ||
452 | alias -g L='| less' | 453 | alias -g L='| less' |
453 | alias -g S='&> /dev/null' | 454 | alias -g S='&> /dev/null' |
454 | alias -g G='| grep' | 455 | alias -g G='| grep' |