From b38da515eacfdbd5119293c4d6a4322b8355dd40 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Fri, 11 Oct 2024 17:38:39 +0200 Subject: [PATCH] Fix forgejo tmpfile rules not being made for root --- hosts/nixos/lapetus/services/forgejo.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/forgejo.nix b/hosts/nixos/lapetus/services/forgejo.nix index c107866..7bc16d8 100644 --- a/hosts/nixos/lapetus/services/forgejo.nix +++ b/hosts/nixos/lapetus/services/forgejo.nix @@ -59,5 +59,5 @@ # Clean up dumps older than a week. # The data is also saved in zfs snapshots and rsync backups, # so this is just an extra layer of safety. - systemd.user.tmpfiles.rules = [ "d ${config.services.forgejo.stateDir}/dump - - - 7d" ]; + systemd.tmpfiles.rules = [ "d ${config.services.forgejo.stateDir}/dump - - - 7d" ]; }