mirror of
https://github.com/kmein/niveum
synced 2026-03-17 02:31:09 +01:00
35c3
+ scripts as derivations ~ move home-mananger stuff to the right modules / dot + home-manager ssh config - vim: powerline symbols ~ toggle keyboard with alt+shift + ssh agent at startup ~ retiolum ipv6 ~ texlive packages ~ shell: vim mode + THEMING ~ i3 minimaler + q ~ terminal: use urxvt
This commit is contained in:
28
dot/ssh.nix
28
dot/ssh.nix
@@ -1,22 +1,10 @@
|
||||
{ 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" ]
|
||||
let huServer = name: {
|
||||
"${name}" = {
|
||||
hostname = "${name}.informatik.hu-berlin.de";
|
||||
user = (import ../secrets.nix).eduroam.identity;
|
||||
identityFile = "~/.ssh/hu";
|
||||
};
|
||||
};
|
||||
in lists.foldr (x: xs: huServer x // xs) {} [ "rabe" "star" "gruenau" "gruenau1" "gruenau2" "gruenau3" "gruenau4" "gruenau5" "gruenau6" "gruenau7" "gruenau8" ]
|
||||
|
||||
Reference in New Issue
Block a user