From a1c5832a5125c590799f1719e676a1dec19167c4 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 1 Aug 2022 18:39:46 +0200 Subject: [PATCH] gitea: save state under /persist --- services/gitea.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/gitea.nix b/services/gitea.nix index a270512..a84e505 100644 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -24,6 +24,8 @@ environment.systemPackages = [ pkgs.gitea ]; + hexchen.bindmounts."/var/lib/gitea" = "/persist/gitea"; + nixpkgs.config.allowUnfree = true; networking.firewall.enable = false; networking.defaultGateway = {