nixos: services: grocy: persist data

This commit is contained in:
Bruno BELANYI 2024-11-28 21:46:39 +00:00
parent 9f299c62de
commit 0abfe44816

View file

@ -37,6 +37,16 @@ in
useACMEHost = config.networking.domain; useACMEHost = config.networking.domain;
}; };
my.services.backup = {
paths = [
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
}; };
} }