gitea: remove useless conditional on backup

This commit is contained in:
Antoine Martin 2021-04-09 18:14:08 +02:00
parent d2fc16978c
commit 64d28f9436

View file

@ -72,7 +72,7 @@ in {
# gitea, so it may produce corrupt files in the snapshot if I push stuff # gitea, so it may produce corrupt files in the snapshot if I push stuff
# around midnight. I'm not sure how `gitea dump` handles this either, # around midnight. I'm not sure how `gitea dump` handles this either,
# though. # though.
my.services.borg-backup = mkIf cfg.enable { my.services.borg-backup = {
paths = [ paths = [
config.services.gitea.lfs.contentDir config.services.gitea.lfs.contentDir
config.services.gitea.repositoryRoot config.services.gitea.repositoryRoot