Compare commits
22 commits
2c1a7d16c7
...
f80d1684df
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | f80d1684df | ||
Bruno BELANYI | c2b38a9fcd | ||
Bruno BELANYI | 775d7a44cd | ||
Bruno BELANYI | 17255be516 | ||
Bruno BELANYI | 8aa4184eb9 | ||
Bruno BELANYI | 9bd98ec1b6 | ||
Bruno BELANYI | 096fbac0b3 | ||
Bruno BELANYI | 324f7c56de | ||
Bruno BELANYI | e7683ddd9b | ||
Bruno BELANYI | 1fdfbe1faa | ||
Bruno BELANYI | 4d3ef9ff43 | ||
Bruno BELANYI | 470ecbef1f | ||
Bruno BELANYI | f92dbaba77 | ||
Bruno BELANYI | 95dbbbcfc1 | ||
Bruno BELANYI | 2d8cc9399d | ||
Bruno BELANYI | e7c3db73db | ||
Bruno BELANYI | 4fd82e1c53 | ||
Bruno BELANYI | e6dcd4120b | ||
Bruno BELANYI | ad66b2706f | ||
Bruno BELANYI | 3de71fb498 | ||
Bruno BELANYI | 908acab1b2 | ||
Bruno BELANYI | 356399ced8 |
|
@ -69,10 +69,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
cfg.downloadDir
|
||||
config.users.users.aria2.home
|
||||
];
|
||||
# FIXME: persistence?
|
||||
|
||||
# NOTE: unfortunately aria2 does not log connection failures for fail2ban
|
||||
};
|
||||
|
|
|
@ -34,9 +34,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${config.services.audiobookshelf.dataDir}"
|
||||
];
|
||||
# FIXME: persistence?
|
||||
|
||||
services.fail2ban.jails = {
|
||||
audiobookshelf = ''
|
||||
|
|
|
@ -34,8 +34,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${config.systemd.services.fail2ban.serviceConfig.StateDirectory}"
|
||||
];
|
||||
# FIXME: persistence?
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28,9 +28,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${config.systemd.services.flood.serviceConfig.StateDirectory}"
|
||||
];
|
||||
# FIXME: persistence?
|
||||
|
||||
# NOTE: unfortunately flood does not log connection failures for fail2ban
|
||||
};
|
||||
|
|
|
@ -37,15 +37,8 @@ in
|
|||
useACMEHost = config.networking.domain;
|
||||
};
|
||||
|
||||
my.services.backup = {
|
||||
paths = [
|
||||
config.services.grocy.dataDir
|
||||
];
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
config.services.grocy.dataDir
|
||||
];
|
||||
# FIXME: backup
|
||||
# FIXME: persistence
|
||||
|
||||
# NOTE: unfortunately grocy does not log connection failures for fail2ban
|
||||
};
|
||||
|
|
|
@ -36,9 +36,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
config.services.komga.stateDir
|
||||
];
|
||||
# FIXME: persistence?
|
||||
|
||||
services.fail2ban.jails = {
|
||||
komga = ''
|
||||
|
|
|
@ -72,15 +72,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.services.backup = {
|
||||
paths = [
|
||||
"/var/lib/${config.systemd.services.mealie.serviceConfig.StateDirectory}"
|
||||
];
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${config.systemd.services.mealie.serviceConfig.StateDirectory}"
|
||||
];
|
||||
# FIXME: backup
|
||||
# FIXME: persistence
|
||||
|
||||
services.fail2ban.jails = {
|
||||
mealie = ''
|
||||
|
|
|
@ -49,6 +49,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# FIXME: backup
|
||||
# FIXME: persistence
|
||||
|
||||
services.fail2ban.jails = {
|
||||
miniflux = ''
|
||||
enabled = true
|
||||
|
|
|
@ -54,9 +54,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${systemd.services.stirling-pdf.serviceConfig.StateDirectory}"
|
||||
];
|
||||
# FIXME: persistence?
|
||||
|
||||
services.fail2ban.jails = {
|
||||
stirling-pdf = ''
|
||||
|
|
|
@ -53,10 +53,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
cfg.downloadDirectory
|
||||
"/var/lib/${config.systemd.services.pyload.StateDirectory}"
|
||||
];
|
||||
# FIXME: backup
|
||||
# FIXME: persistence
|
||||
|
||||
services.fail2ban.jails = {
|
||||
pyload = ''
|
||||
|
|
|
@ -20,15 +20,10 @@ let
|
|||
group = "media";
|
||||
};
|
||||
|
||||
my.system.persist.directories =
|
||||
let
|
||||
# Bazarr breaks the mold unfortunately
|
||||
dataDir =
|
||||
if service != "bazarr"
|
||||
then config.services.${service}.dataDir
|
||||
else config.users.user.${service}.home;
|
||||
in
|
||||
[ dataDir ];
|
||||
# Thankfully those old style services all define users with homes
|
||||
my.system.persist.directories = [
|
||||
config.users.user.${service}.home
|
||||
];
|
||||
};
|
||||
|
||||
mkRedirection = service: {
|
||||
|
|
|
@ -83,18 +83,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
my.services.backup = {
|
||||
paths = [
|
||||
"/var/lib/${config.systemd.services.tandoor-recipes.StateDirectory}"
|
||||
config.systemd.services.tandoor-recipes.environment.MEDIA_ROOT
|
||||
];
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${config.systemd.services.tandoor-recipes.StateDirectory}"
|
||||
config.systemd.services.tandoor-recipes.environment.MEDIA_ROOT
|
||||
];
|
||||
|
||||
# FIXME: backup
|
||||
# FIXME: persistence
|
||||
|
||||
# NOTE: unfortunately tandoor-recipes does not log connection failures for fail2ban
|
||||
};
|
||||
|
|
|
@ -100,9 +100,7 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
config.services.vikunja.settings.files.basepath
|
||||
];
|
||||
# FIXME: persistence
|
||||
|
||||
# NOTE: unfortunately vikunja does not log connection failures for fail2ban
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue