nixos: services: flood: persist data
This commit is contained in:
parent
34592cfd52
commit
0ac6fef308
|
@ -28,6 +28,10 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${config.systemd.services.flood.serviceConfig.StateDirectory}"
|
||||
];
|
||||
|
||||
# NOTE: unfortunately flood does not log connection failures for fail2ban
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue