From 4fac3bcb0c05e2db5c40609443d8e8f037ecbb03 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Sun, 29 Dec 2024 18:37:38 -0500 Subject: [PATCH 1/2] fix User declaration --- backup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.nix b/backup.nix index 26e6d8a..f7fe9f2 100644 --- a/backup.nix +++ b/backup.nix @@ -26,8 +26,8 @@ in { restartIfChanged = false; unitConfig.X-StopOnRemoval = false; - unitConfig.User = user; + serviceConfig.User = user; serviceConfig.Type = "oneshot"; startAt = "weekly"; From a11297200945009909e7aaee7069cb4cc28a66f1 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Sun, 29 Dec 2024 18:38:11 -0500 Subject: [PATCH 2/2] add gnutar to path --- backup.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/backup.nix b/backup.nix index f7fe9f2..181a1a2 100644 --- a/backup.nix +++ b/backup.nix @@ -37,6 +37,7 @@ in { config.services.postgresql.package s3cmd coreutils + gnutar age ];