From ac71ccaf5ffe0d5739f49e639d1cd5a12061b1c8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 11 Jan 2021 21:29:26 +0100 Subject: gkleen@sif: shell tweaks --- accounts/gkleen@sif/autorandr-profiles/def.nix | 13 +++++++++++++ accounts/gkleen@sif/autorandr-profiles/default.nix | 13 ------------- accounts/gkleen@sif/default.nix | 5 +++++ accounts/gkleen@sif/ssh-hosts.nix | 9 +++++++++ accounts/gkleen@sif/xmonad/xmonad.hs | 2 +- 5 files changed, 28 insertions(+), 14 deletions(-) create mode 100644 accounts/gkleen@sif/autorandr-profiles/def.nix delete mode 100644 accounts/gkleen@sif/autorandr-profiles/default.nix diff --git a/accounts/gkleen@sif/autorandr-profiles/def.nix b/accounts/gkleen@sif/autorandr-profiles/def.nix new file mode 100644 index 00000000..304b4afe --- /dev/null +++ b/accounts/gkleen@sif/autorandr-profiles/def.nix @@ -0,0 +1,13 @@ +{ + fingerprint = { + eDP-1-1 = "00ffffffffffff004c83414100000000131d0104b5221378029491ae513eb7240b505400000001010101010101010101010101010101f0d40040f17018803020440058c21000001bf0d40040f17018803020440058c21000001b0000000f00ff093cff093c2c800000000000000000fe0041544e413536575230382d3020011502030f00e3058000e6060501736d0700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ab"; + }; + config = { + eDP-1-1 = { + enable = true; + primary = true; + position = "0x0"; + mode = "3840x2160"; + }; + }; +} diff --git a/accounts/gkleen@sif/autorandr-profiles/default.nix b/accounts/gkleen@sif/autorandr-profiles/default.nix deleted file mode 100644 index 304b4afe..00000000 --- a/accounts/gkleen@sif/autorandr-profiles/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - fingerprint = { - eDP-1-1 = "00ffffffffffff004c83414100000000131d0104b5221378029491ae513eb7240b505400000001010101010101010101010101010101f0d40040f17018803020440058c21000001bf0d40040f17018803020440058c21000001b0000000f00ff093cff093c2c800000000000000000fe0041544e413536575230382d3020011502030f00e3058000e6060501736d0700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ab"; - }; - config = { - eDP-1-1 = { - enable = true; - primary = true; - position = "0x0"; - mode = "3840x2160"; - }; - }; -} diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 57e93863..9fff89be 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -83,6 +83,11 @@ in { }; zsh.initExtra = "source ${./zshrc}"; + zsh.dirHashes = { + u2w = "$HOME/projects/uni2work"; + docs = "$HOME/documents"; + dl = "$HOME/Downloads"; + }; }; services = { diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index ffbd8c00..8937e743 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix @@ -154,6 +154,15 @@ user = "root"; identityFile = "~/.ssh/tcs"; }; + "proxy.oregon" = + { hostname = "oregon.tcs.ifi.lmu.de"; + user = "root"; + identityFile = "~/.ssh/tcs"; + dynamicForwards = [ { port = 8113; } ]; + extraOptions = { + ExitOnForwardFailure = "yes"; + }; + }; "witbank" = { hostname = "witbank.tcs.ifi.lmu.de"; user = "uni2work"; diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index 0308f0a0..7113b4e3 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs @@ -253,7 +253,7 @@ hostFromName h , "urxvtc -name log -e journalctl -xef" ]) , (xK_x, [ "autorandr -c" - , "autorandr -fl default" + , "autorandr -fl def" ]) , (xK_z, [ "zulip -- --force-device-scale-factor=2" ]) -- cgit v1.2.3