correct method

This commit is contained in:
Joseph Hanson 2024-09-30 23:44:33 -05:00
parent 989aac1f72
commit 225a716c48
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
cleanupScript = pkgs.writeScript "cleanup-backups.sh" (builtins.readFile ./prune-backups.sh); cleanupScript = pkgs.writeShellScriptBin "cleanup-backups.sh" (builtins.readFile ./prune-backups.sh);
in in
{ {
systemd.timers.cleanup-backups = { systemd.timers.cleanup-backups = {