summary refs log tree commit diff
path: root/nixos/tests/yggdrasil.nix
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2020-05-03 16:00:31 +0530
committerEmery Hemingway <ehmry@posteo.net>2020-05-21 12:11:13 +0530
commitac97b19a2ab6901af26cee6878ffa73de68d1fcb (patch)
treeeba5a614169c64bf12c7c41053a552c75a1afe95 /nixos/tests/yggdrasil.nix
parent067ad3cc946a7a8435bec88a653be1db93b442db (diff)
downloadnixpkgs-ac97b19a2ab6901af26cee6878ffa73de68d1fcb.tar
nixpkgs-ac97b19a2ab6901af26cee6878ffa73de68d1fcb.tar.gz
nixpkgs-ac97b19a2ab6901af26cee6878ffa73de68d1fcb.tar.bz2
nixpkgs-ac97b19a2ab6901af26cee6878ffa73de68d1fcb.tar.lz
nixpkgs-ac97b19a2ab6901af26cee6878ffa73de68d1fcb.tar.xz
nixpkgs-ac97b19a2ab6901af26cee6878ffa73de68d1fcb.tar.zst
nixpkgs-ac97b19a2ab6901af26cee6878ffa73de68d1fcb.zip
nixos/yggdrasil: change config priority, persistentKeys
Favor the configuration in "configFile" over "config" to allow
"configFile" to override "config" without a system rebuild.

Add a "persistentKeys" option to generate keys and addresses that
persist across service restarts. This is useful for self-configuring
boot media.
Diffstat (limited to 'nixos/tests/yggdrasil.nix')
-rw-r--r--nixos/tests/yggdrasil.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/yggdrasil.nix b/nixos/tests/yggdrasil.nix
index 468fcf67127..9ceb7974733 100644
--- a/nixos/tests/yggdrasil.nix
+++ b/nixos/tests/yggdrasil.nix
@@ -85,6 +85,7 @@ in import ./make-test-python.nix ({ pkgs, ...} : {
             MulticastInterfaces = [ "eth1" ];
             LinkLocalTCPPort = 43210;
           };
+          persistentKeys = true;
         };
       };
     };