From 9b4408769326f32932af4f347a727afffd5aa3ec Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 14 Oct 2023 22:45:46 +0200 Subject: [PATCH] bekkalokk/gitea: make import user script run by default Systemd stuff are generally turned on by default but need to be wanted Much like me --- hosts/bekkalokk/services/gitea/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/bekkalokk/services/gitea/default.nix b/hosts/bekkalokk/services/gitea/default.nix index fd8c8d9..288b27a 100644 --- a/hosts/bekkalokk/services/gitea/default.nix +++ b/hosts/bekkalokk/services/gitea/default.nix @@ -84,9 +84,9 @@ in { }; systemd.timers.gitea-import-users = { - enable = true; requires = [ "gitea.service" ]; after = [ "gitea.service" ]; + wantedBy = [ "timers.target" ]; timerConfig = { OnCalendar = "*-*-* 02:00:00"; Persistent = true;