mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
hosts/plover: update comments and systemd journal matches for fail2ban
This commit is contained in:
parent
7de5c14ef5
commit
5341024d96
@ -29,6 +29,8 @@ in {
|
||||
|
||||
mailerPasswordFile = config.sops.secrets."plover/gitea/smtp/password".path;
|
||||
|
||||
# You can see the available configuration options at
|
||||
# https://docs.gitea.io/en-us/config-cheat-sheet/.
|
||||
settings = {
|
||||
"repository.pull_request" = {
|
||||
WORK_IN_PROGRESS_PREFIXES = "WIP:,[WIP],DRAFT,[DRAFT]";
|
||||
@ -107,7 +109,10 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
# Making sure this plays nicely with the database service of choice.
|
||||
# Making sure this plays nicely with the database service of choice. Take
|
||||
# note, we're mainly using secure schema usage pattern here as described from
|
||||
# the PostgreSQL documentation at
|
||||
# https://www.postgresql.org/docs/15/ddl-schemas.html#DDL-SCHEMAS-PATTERNS.
|
||||
services.postgresql = {
|
||||
ensureUsers = [{
|
||||
name = config.services.gitea.user;
|
||||
@ -132,7 +137,7 @@ in {
|
||||
gitea = ''
|
||||
enabled = true
|
||||
backend = systemd
|
||||
filter = gitea[journalmatch='_SYSTEMD_UNIT=gitea.service']
|
||||
filter = gitea[journalmatch='_SYSTEMD_UNIT=gitea.service + _COMM=gitea']
|
||||
maxretry = 8
|
||||
'';
|
||||
};
|
||||
|
@ -101,14 +101,14 @@ in {
|
||||
vaultwarden-user = ''
|
||||
enabled = true
|
||||
backend = systemd
|
||||
filter = vaultwarden-user[journalmatch='_SYSTEMD_UNIT=vaultwarden.service']
|
||||
filter = vaultwarden-user[journalmatch='_SYSTEMD_UNIT=vaultwarden.service + _COMM=vaultwarden']
|
||||
maxretry = 5
|
||||
'';
|
||||
|
||||
vaultwarden-admin = ''
|
||||
enabled = true
|
||||
backend = systemd
|
||||
filter = vaultwarden-admin[journalmatch='_SYSTEMD_UNIT=vaultwarden.service']
|
||||
filter = vaultwarden-admin[journalmatch='_SYSTEMD_UNIT=vaultwarden.service + _COMM=vaultwarden']
|
||||
maxretry = 3
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user