hydra: re-enable yggdrasil

This commit is contained in:
Ehmry - 2019-12-01 11:33:47 +01:00
parent 6e8fd7e77e
commit 4de9883c83
1 changed files with 16 additions and 1 deletions

View File

@ -8,15 +8,30 @@
../../lib/hq.nix
../../lib/emery.nix
../../lib/buildfarmer.nix
../../lib/yggdrasil.nix
../../lib/tun.nix
];
networking.interfaces.eth0.preferTempAddress = false;
services.yggdrasil = {
configFile = "/var/lib/yggdrasil/keys";
config.Peers = [
"tcp://[2a03:3b40:fe:ab::1]:46370" # Praha
"tcp://ygg.thingylabs.io:443" # Nürnberg
"tcp://176.223.130.120:22632" # Wrocław
"tcp://[2a05:9403::8b]:7743" # Praha
];
};
nixpkgs.config.allowUnfree = true;
security.pam.enableSSHAgentAuth = true;
services.openssh.enable = true;
services.openssh = {
enable = true;
passwordAuthentication = false;
};
programs.mosh.enable = true;
nix = {