diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-11 21:29:26 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-11 21:29:26 +0100 |
| commit | ac71ccaf5ffe0d5739f49e639d1cd5a12061b1c8 (patch) | |
| tree | d21db16459463e3f85cb7602107fb37a31fe4740 /accounts | |
| parent | e37530514528e7501db1cd8d0c673d4837cd6093 (diff) | |
| download | nixos-ac71ccaf5ffe0d5739f49e639d1cd5a12061b1c8.tar nixos-ac71ccaf5ffe0d5739f49e639d1cd5a12061b1c8.tar.gz nixos-ac71ccaf5ffe0d5739f49e639d1cd5a12061b1c8.tar.bz2 nixos-ac71ccaf5ffe0d5739f49e639d1cd5a12061b1c8.tar.xz nixos-ac71ccaf5ffe0d5739f49e639d1cd5a12061b1c8.zip | |
gkleen@sif: shell tweaks
Diffstat (limited to 'accounts')
| -rw-r--r-- | accounts/gkleen@sif/autorandr-profiles/def.nix (renamed from accounts/gkleen@sif/autorandr-profiles/default.nix) | 0 | ||||
| -rw-r--r-- | accounts/gkleen@sif/default.nix | 5 | ||||
| -rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 9 | ||||
| -rw-r--r-- | accounts/gkleen@sif/xmonad/xmonad.hs | 2 |
4 files changed, 15 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/autorandr-profiles/default.nix b/accounts/gkleen@sif/autorandr-profiles/def.nix index 304b4afe..304b4afe 100644 --- a/accounts/gkleen@sif/autorandr-profiles/default.nix +++ b/accounts/gkleen@sif/autorandr-profiles/def.nix | |||
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 { | |||
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | zsh.initExtra = "source ${./zshrc}"; | 85 | zsh.initExtra = "source ${./zshrc}"; |
| 86 | zsh.dirHashes = { | ||
| 87 | u2w = "$HOME/projects/uni2work"; | ||
| 88 | docs = "$HOME/documents"; | ||
| 89 | dl = "$HOME/Downloads"; | ||
| 90 | }; | ||
| 86 | }; | 91 | }; |
| 87 | 92 | ||
| 88 | services = { | 93 | 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 @@ | |||
| 154 | user = "root"; | 154 | user = "root"; |
| 155 | identityFile = "~/.ssh/tcs"; | 155 | identityFile = "~/.ssh/tcs"; |
| 156 | }; | 156 | }; |
| 157 | "proxy.oregon" = | ||
| 158 | { hostname = "oregon.tcs.ifi.lmu.de"; | ||
| 159 | user = "root"; | ||
| 160 | identityFile = "~/.ssh/tcs"; | ||
| 161 | dynamicForwards = [ { port = 8113; } ]; | ||
| 162 | extraOptions = { | ||
| 163 | ExitOnForwardFailure = "yes"; | ||
| 164 | }; | ||
| 165 | }; | ||
| 157 | "witbank" = | 166 | "witbank" = |
| 158 | { hostname = "witbank.tcs.ifi.lmu.de"; | 167 | { hostname = "witbank.tcs.ifi.lmu.de"; |
| 159 | user = "uni2work"; | 168 | 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 | |||
| 253 | , "urxvtc -name log -e journalctl -xef" | 253 | , "urxvtc -name log -e journalctl -xef" |
| 254 | ]) | 254 | ]) |
| 255 | , (xK_x, [ "autorandr -c" | 255 | , (xK_x, [ "autorandr -c" |
| 256 | , "autorandr -fl default" | 256 | , "autorandr -fl def" |
| 257 | ]) | 257 | ]) |
| 258 | , (xK_z, [ "zulip -- --force-device-scale-factor=2" | 258 | , (xK_z, [ "zulip -- --force-device-scale-factor=2" |
| 259 | ]) | 259 | ]) |
