diff options
-rw-r--r-- | machines/srv1/configuration.nix | 1 | ||||
-rw-r--r-- | machines/srv1/yggdrasil.nix | 12 |
2 files changed, 13 insertions, 0 deletions
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" + ]; + }; + }; +} |