From 67486c3f054a6ab9c658fa16e96072de6907214a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 1 May 2021 16:41:08 +0200 Subject: Add yggdrasil config --- machines/srv1/configuration.nix | 1 + machines/srv1/yggdrasil.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 machines/srv1/yggdrasil.nix (limited to 'machines/srv1') diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix index ea7d730..8ceaaf2 100644 --- a/machines/srv1/configuration.nix +++ b/machines/srv1/configuration.nix @@ -23,6 +23,7 @@ in [ #./hardware-configuration.nix ./cgit.nix + ./yggdrasil.nix ]; boot.loader.grub.enable = true; diff --git a/machines/srv1/yggdrasil.nix b/machines/srv1/yggdrasil.nix new file mode 100644 index 0000000..0d0291f --- /dev/null +++ b/machines/srv1/yggdrasil.nix @@ -0,0 +1,12 @@ +{ + services.yggdrasil = { + enable = true; + persistentKeys = true; + config = { + Peers = [ + "tcp://51.75.44.73:50001" + "tcp://176.223.130.120:22632" + ]; + }; + }; +} -- cgit 1.4.1