diff --git a/provision/hosts/bulwark/configuration.nix b/provision/hosts/bulwark/configuration.nix index d8921395..33c4b0e4 100644 --- a/provision/hosts/bulwark/configuration.nix +++ b/provision/hosts/bulwark/configuration.nix @@ -41,7 +41,6 @@ devices = { "kestrel" = { id = "5WWL4FE-ARZ4FHP-J33HQCH-CZKEXLN-2RAY4KW-PDI754F-3HVPZYI-VC3ESAF"; }; }; - folders = {}; }; }; system = { diff --git a/provision/hosts/kestrel/configuration.nix b/provision/hosts/kestrel/configuration.nix index 2231f984..f7a48fd3 100644 --- a/provision/hosts/kestrel/configuration.nix +++ b/provision/hosts/kestrel/configuration.nix @@ -60,8 +60,9 @@ enable = true; keyPath = ../../secrets/syncthing/kestrel/key.pem.age; certPath = ../../secrets/syncthing/kestrel/cert.pem.age; - devices = {}; - folders = {}; + devices = { + "bulwark" = { id = "YKPOWTQ-XMXG3SD-XKLPVEC-H4SO345-2ZZQK65-EBISRED-ISKCFMQ-T74P6Q5"; }; + }; }; }; system = { diff --git a/provision/modules/services/syncthing.nix b/provision/modules/services/syncthing.nix index 42e4f931..983ca03f 100644 --- a/provision/modules/services/syncthing.nix +++ b/provision/modules/services/syncthing.nix @@ -22,14 +22,6 @@ in { A set of devices and associated IDs. ''; }; - folders = mkOption { - type = types.attrs; - default = {}; - description = '' - A set of folders, each defined by a set of attributes like - path, devices, and other configuration options. - ''; - }; }; config = lib.mkIf cfg.enable { @@ -62,7 +54,6 @@ in { key = "/run/agenix/syncthing/key.pem"; cert = "/run/agenix/syncthing/cert.pem"; settings.devices = cfg.devices; - settings.folders = cfg.folders; }; }; }