updated path for fail2ban config
This commit is contained in:
parent
f81878afd7
commit
c1f90f07c9
|
@ -92,7 +92,7 @@ in {
|
|||
enabled = true;
|
||||
filter = "forgejo";
|
||||
action = ''iptables-multiport[name=HTTP, port="http,https"]'';
|
||||
logpath = "${config.services.forgejo.stateDir}/log/*.log";
|
||||
logpath = "${config.services.forgejo.settings.log.ROOT_PATH}/*.log";
|
||||
backend = "auto";
|
||||
findtime = 600;
|
||||
bantime = 600;
|
||||
|
|
|
@ -77,7 +77,7 @@ in {
|
|||
assertion = lib.strings.hasPrefix mountDir folder.path;
|
||||
message = "syncthing folder ${folder.label} is stored at ${folder.path} which not under the persisted path of ${mountDir}";
|
||||
})
|
||||
config.services.syncthing.folders;
|
||||
config.services.syncthing.settings.folders;
|
||||
environment.persistence = {
|
||||
"/persist/system/root" = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue