From 2c75432a1a48feff3f1ab86d200d4d9ac0ea487f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 15 May 2021 21:30:30 +0200 Subject: gkleen@sif: surtr --- accounts/gkleen@sif/ssh-hosts.nix | 4 ++++ accounts/gkleen@sif/xmonad/xmonad.hs | 12 ++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index d47410f4..58e4957f 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix @@ -27,6 +27,10 @@ { hostname = "ymir.yggdrasil.li"; identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; }; + "surtr" = + { hostname = "surtr.yggdrasil.li"; + identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; + }; "odin" = { hostname = "odin.asgard.yggdrasil"; identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index 3bf930c0..579456ad 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs @@ -681,14 +681,9 @@ xPConfig = def } sshOverrides host = map (\h -> mkOverride { oHost = h, oCommand = moshCmd . inTmux host} ) - [ - "odin", "odin.asgard.yggdrasil" - , "ymir", "ymir.yggdrasil.li", "ymir.niflheim.yggdrasil" - , "surtr", "yggdrasil.li", "surtr.yggdrasil.li", "praseodym.org", "surtr.praseodym.org", "surtr.141.li", "141.li" - , "vindler", "vindler.alfheim.yggdrasil" - , "ullr" - , "heimdallr", "heimdallr.asgard.yggdrasil" - , "testworx" + [ "odin" + , "ymir" + , "surtr" ] ++ map (\h -> mkOverride { oHost = h, oCommand = moshCmd' "/run/current-system/sw/bin/mosh-server" . withEnv [("TERM", "xterm")] . inTmux host} ) @@ -702,6 +697,7 @@ sshOverrides host = map (\h -> mkOverride { oHost = h, oCommand = moshCmd . inTm map (\h -> mkOverride { oHost = h, oCommand = sshCmd . withEnv [("TERM", "xterm")] . inTmux host } ) [ "remote.cip.ifi.lmu.de" , "uniworx3", "uniworx4", "uniworx5", "uniworxdb2" + , "testworx" ] backlight :: (Rational -> Rational) -> X () -- cgit v1.2.3