about summary refs log tree commit diff
path: root/nixos/tests/yggdrasil.nix
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2022-08-07 13:21:22 -0500
committerehmry <ehmry@posteo.net>2022-08-11 16:09:42 -0500
commit300c5c98c6e1558ec977c0f6f0b8a8af71fbd0e8 (patch)
tree433e4270487ac0d1d5571f5d709daa4d33d938b8 /nixos/tests/yggdrasil.nix
parent2e7384b7dff4418bb800531190cc642313aa1c23 (diff)
nixos/yggdrasil: rename "config" option to "settings"
Make this service consistent with rfc42.

https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md
Diffstat (limited to 'nixos/tests/yggdrasil.nix')
-rw-r--r--nixos/tests/yggdrasil.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/yggdrasil.nix b/nixos/tests/yggdrasil.nix
index b409d9ed78531..b60a0e6b06cc4 100644
--- a/nixos/tests/yggdrasil.nix
+++ b/nixos/tests/yggdrasil.nix
@@ -42,7 +42,7 @@ in import ./make-test-python.nix ({ pkgs, ...} : {
 
         services.yggdrasil = {
           enable = true;
-          config = {
+          settings = {
             Listen = ["tcp://0.0.0.0:12345"];
             MulticastInterfaces = [ ];
           };
@@ -112,7 +112,7 @@ in import ./make-test-python.nix ({ pkgs, ...} : {
         services.yggdrasil = {
           enable = true;
           denyDhcpcdInterfaces = [ "ygg0" ];
-          config = {
+          settings = {
             IfTAPMode = true;
             IfName = "ygg0";
             MulticastInterfaces = [ "eth1" ];