1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00
Files
niveum/dot/ssh.nix
Kierán Meinhardt 93c497961a VPN
~ move ghci dotfile
+ vim: black as python formatter
+ openvpn
+ wpa_supplicant_gui
+ dot2tex
+ graphviz
+ hlint
~ nix-shell: use zsh
~ zsh: show whether in nix-shell
~ ghci: hoogle with haddock links
~ ssh: login with hu id (no passphrase)
~ terminal: Source Code Pro
2018-10-31 00:48:32 +01:00

23 lines
597 B
Nix

{ lib }:
with lib;
let huServer = name: ''
Host ${name}
User ${(import ../secrets.nix).eduroam.identity}
HostName ${name}.informatik.hu-berlin.de
IdentityFile ~/.ssh/hu
'';
in ''
Host github
User git
HostName github.com
Host gitlab
User git
HostName gitlab.informatik.hu-berlin.de
Host happysrv
User meinhark
HostName v22017123717458308.happysrv.de
Port 49000
'' + strings.concatMapStringsSep "\n\n" huServer [ "rabe" "star" "gruenau" "gruenau1" "gruenau2" "gruenau3" "gruenau4" "gruenau5" "gruenau6" "gruenau7" "gruenau8" ]