about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorRyze2024-06-23 18:10:59 +0300
committerRyze2024-06-23 18:10:59 +0300
commit10962c7ca2f5003de1109330316337d22b782f15 (patch)
tree42621573c7c67eb0c599856f67393c855d54fa49 /nixos/modules
parentbe54c7d931a68ba6a79f097ce979288e90a74288 (diff)
nixos/zerotierone: fix default value for localConf
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/zerotierone.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/zerotierone.nix b/nixos/modules/services/networking/zerotierone.nix
index 68c04118fdd5..2485327ed44e 100644
--- a/nixos/modules/services/networking/zerotierone.nix
+++ b/nixos/modules/services/networking/zerotierone.nix
@@ -34,7 +34,7 @@ in
   options.services.zerotierone.package = mkPackageOption pkgs "zerotierone" { };
 
   options.services.zerotierone.localConf = mkOption {
-    default = null;
+    default = {};
     description = ''
       Optional configuration to be written to the Zerotier JSON-based local.conf.
       If set, the configuration will be symlinked to `/var/lib/zerotier-one/local.conf` at build time.