Fix evaluation error on hydra ygg keys

This commit is contained in:
Emery Hemingway 2019-11-28 22:13:06 +01:00
parent 4515842937
commit 2235d3a6e6
1 changed files with 9 additions and 9 deletions

View File

@ -13,15 +13,15 @@
./../../lib/emery.nix
];
services.yggdrasil.config =
(with builtins; fromJSON (readFile /var/lib/yggdrasil/keys)) // {
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
];
};
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;