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 = [
|
# FIXME: persistence?
|
||||||
cfg.downloadDir
|
|
||||||
config.users.users.aria2.home
|
|
||||||
];
|
|
||||||
|
|
||||||
# NOTE: unfortunately aria2 does not log connection failures for fail2ban
|
# NOTE: unfortunately aria2 does not log connection failures for fail2ban
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,9 +34,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories = [
|
# FIXME: persistence?
|
||||||
"/var/lib/${config.services.audiobookshelf.dataDir}"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.fail2ban.jails = {
|
services.fail2ban.jails = {
|
||||||
audiobookshelf = ''
|
audiobookshelf = ''
|
||||||
|
|
|
@ -34,8 +34,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories = [
|
# FIXME: persistence?
|
||||||
"/var/lib/${config.systemd.services.fail2ban.serviceConfig.StateDirectory}"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,9 +28,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories = [
|
# FIXME: persistence?
|
||||||
"/var/lib/${config.systemd.services.flood.serviceConfig.StateDirectory}"
|
|
||||||
];
|
|
||||||
|
|
||||||
# NOTE: unfortunately flood does not log connection failures for fail2ban
|
# NOTE: unfortunately flood does not log connection failures for fail2ban
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,15 +37,8 @@ in
|
||||||
useACMEHost = config.networking.domain;
|
useACMEHost = config.networking.domain;
|
||||||
};
|
};
|
||||||
|
|
||||||
my.services.backup = {
|
# FIXME: backup
|
||||||
paths = [
|
# FIXME: persistence
|
||||||
config.services.grocy.dataDir
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
my.system.persist.directories = [
|
|
||||||
config.services.grocy.dataDir
|
|
||||||
];
|
|
||||||
|
|
||||||
# NOTE: unfortunately grocy does not log connection failures for fail2ban
|
# NOTE: unfortunately grocy does not log connection failures for fail2ban
|
||||||
};
|
};
|
||||||
|
|
|
@ -36,9 +36,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories = [
|
# FIXME: persistence?
|
||||||
config.services.komga.stateDir
|
|
||||||
];
|
|
||||||
|
|
||||||
services.fail2ban.jails = {
|
services.fail2ban.jails = {
|
||||||
komga = ''
|
komga = ''
|
||||||
|
|
|
@ -72,15 +72,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.services.backup = {
|
# FIXME: backup
|
||||||
paths = [
|
# FIXME: persistence
|
||||||
"/var/lib/${config.systemd.services.mealie.serviceConfig.StateDirectory}"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
my.system.persist.directories = [
|
|
||||||
"/var/lib/${config.systemd.services.mealie.serviceConfig.StateDirectory}"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.fail2ban.jails = {
|
services.fail2ban.jails = {
|
||||||
mealie = ''
|
mealie = ''
|
||||||
|
|
|
@ -49,6 +49,9 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FIXME: backup
|
||||||
|
# FIXME: persistence
|
||||||
|
|
||||||
services.fail2ban.jails = {
|
services.fail2ban.jails = {
|
||||||
miniflux = ''
|
miniflux = ''
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
|
@ -54,9 +54,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories = [
|
# FIXME: persistence?
|
||||||
"/var/lib/${systemd.services.stirling-pdf.serviceConfig.StateDirectory}"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.fail2ban.jails = {
|
services.fail2ban.jails = {
|
||||||
stirling-pdf = ''
|
stirling-pdf = ''
|
||||||
|
|
|
@ -53,10 +53,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories = [
|
# FIXME: backup
|
||||||
cfg.downloadDirectory
|
# FIXME: persistence
|
||||||
"/var/lib/${config.systemd.services.pyload.StateDirectory}"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.fail2ban.jails = {
|
services.fail2ban.jails = {
|
||||||
pyload = ''
|
pyload = ''
|
||||||
|
|
|
@ -20,15 +20,10 @@ let
|
||||||
group = "media";
|
group = "media";
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories =
|
# Thankfully those old style services all define users with homes
|
||||||
let
|
my.system.persist.directories = [
|
||||||
# Bazarr breaks the mold unfortunately
|
config.users.user.${service}.home
|
||||||
dataDir =
|
];
|
||||||
if service != "bazarr"
|
|
||||||
then config.services.${service}.dataDir
|
|
||||||
else config.users.user.${service}.home;
|
|
||||||
in
|
|
||||||
[ dataDir ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mkRedirection = service: {
|
mkRedirection = service: {
|
||||||
|
|
|
@ -83,18 +83,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
my.services.backup = {
|
# FIXME: backup
|
||||||
paths = [
|
# FIXME: persistence
|
||||||
"/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
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
# NOTE: unfortunately tandoor-recipes does not log connection failures for fail2ban
|
# NOTE: unfortunately tandoor-recipes does not log connection failures for fail2ban
|
||||||
};
|
};
|
||||||
|
|
|
@ -100,9 +100,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
my.system.persist.directories = [
|
# FIXME: persistence
|
||||||
config.services.vikunja.settings.files.basepath
|
|
||||||
];
|
|
||||||
|
|
||||||
# NOTE: unfortunately vikunja does not log connection failures for fail2ban
|
# NOTE: unfortunately vikunja does not log connection failures for fail2ban
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue