fix(syncthing): typo

This commit is contained in:
2025-09-15 17:49:59 +02:00
parent fb4c9dbba2
commit 002f23378b

View File

@@ -2,13 +2,11 @@
config,
lib,
...
}:
let
}: let
unit = "syncthing";
srv = config.server;
cfg = config.server.${unit};
in
{
in {
options.server.${unit} = {
enable = lib.mkEnableOption {
description = "Enable ${unit}";
@@ -52,7 +50,7 @@ in
overrideFolders = false;
overrideDevices = false;
dataDir = "/home/${srv.user}/syncthing";
configDir = "/home/${srv.user}/syncthing/.config/syncting";
configDir = "/home/${srv.user}/syncthing/.config/syncthing";
};
services.caddy.virtualHosts."${cfg.url}" = {
useACMEHost = srv.domain;