From d8e80bb0c8d7bc1eb8c7d63630223cf518e1e6c9 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 6 Jun 2024 10:16:29 +0200 Subject: [PATCH] syncthing: update facts to new system --- clanModules/syncthing-static-peers/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clanModules/syncthing-static-peers/default.nix b/clanModules/syncthing-static-peers/default.nix index 89d2a5e1d..4e06e00b8 100644 --- a/clanModules/syncthing-static-peers/default.nix +++ b/clanModules/syncthing-static-peers/default.nix @@ -27,7 +27,7 @@ let }) syncthingPublicKeyMachines; in { - options.clan.static-syncthing-peers = { + options.clan.syncthing-static-peers = { excludeMachines = lib.mkOption { type = lib.types.listOf lib.types.str; example = [ config.clanCore.machineName ]; @@ -66,8 +66,8 @@ in configDir = "/var/lib/syncthing"; group = "syncthing"; - key = lib.mkDefault config.clan.secrets.syncthing.secrets."syncthing.key".path or null; - cert = lib.mkDefault config.clan.secrets.syncthing.secrets."syncthing.cert".path or null; + key = lib.mkDefault config.clanCore.facts.services.syncthing.secret."syncthing.key".path or null; + cert = lib.mkDefault config.clanCore.facts.services.syncthing.secret."syncthing.cert".path or null; }; clanCore.facts.services.syncthing = {