From 346df9a2135d33107b439fd3dfb7c0eb37f8ad43 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 3 Nov 2021 14:43:28 +0100 Subject: [PATCH] modules: services: gitea: persist repositories --- modules/services/gitea/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix index 0ece12c..1c19018 100644 --- a/modules/services/gitea/default.nix +++ b/modules/services/gitea/default.nix @@ -75,5 +75,10 @@ in config.services.gitea.repositoryRoot ]; }; + + my.system.persist.directories = [ + config.services.gitea.lfs.contentDir + config.services.gitea.repositoryRoot + ]; }; }