diff --git a/config.nix b/config.nix index 3f4b7c9..58ed48a 100644 --- a/config.nix +++ b/config.nix @@ -65,13 +65,6 @@ in { ]; }; - programs.ssh = { - startAgent = true; - agentTimeout = "10m"; - knownHosts = []; - }; - services.openssh.forwardX11 = true; - programs.tmux = { enable = true; extraTmuxConf = import dot/tmux.nix; @@ -98,11 +91,6 @@ in { ignores = config.constants.ignore; }; - programs.ssh = { - enable = true; - matchBlocks = import dot/ssh.nix { inherit lib; }; - }; - home.file = { ".config/mpv/input.conf".text = import dot/mpv.nix; ".config/Typora/themes/base.user.css".text = import dot/typora.nix; diff --git a/configs/graphics.nix b/configs/graphics.nix index a649327..0d1073a 100644 --- a/configs/graphics.nix +++ b/configs/graphics.nix @@ -18,7 +18,6 @@ ${pkgs.feh}/bin/feh --bg-fill $(find ${../art} -type f | shuf -n 1) & ${pkgs.dropbox-cli}/bin/dropbox start & ${pkgs.seafile-client}/bin/seafile-applet & - ${pkgs.openssh}/bin/ssh-add ''; displayManager.lightdm.greeters.gtk = { enable = true; diff --git a/configs/networks.nix b/configs/networks.nix index 4bb245e..bd37b53 100644 --- a/configs/networks.nix +++ b/configs/networks.nix @@ -26,8 +26,20 @@ enable = true; indicator = true; }; + + programs.ssh = { + enable = true; + matchBlocks = {}; + }; }; + programs.ssh = { + startAgent = true; + agentTimeout = "10m"; + knownHosts = []; + }; + services.openssh.forwardX11 = true; + networking.retiolum = { scardanelli = { ipv4 = "10.243.2.2"; diff --git a/dot/ssh.nix b/dot/ssh.nix deleted file mode 100644 index 6c7aa10..0000000 --- a/dot/ssh.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ lib }: -with lib; -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" ]