diff --git a/operating-systems/buer/shepherd-services.scm b/operating-systems/buer/shepherd-services.scm index 08570e9..09a8ca7 100644 --- a/operating-systems/buer/shepherd-services.scm +++ b/operating-systems/buer/shepherd-services.scm @@ -30,10 +30,11 @@ next calendar event."))) (start #~(make-timer-constructor (calendar-event #:days-of-month '(1 15)) (lambda () - (let* ((btrfs "/run/current-system/profile/bin/btrfs") - (date (strftime "%Y-%m-%d" (localtime (current-time))))) - (system* btrfs "subvolume" "snapshot" "/home" - (string-append "/snapshots/home/" date)))))) + (let ((btrfs "/run/current-system/profile/bin/btrfs") + (date (strftime "%Y-%m-%d" (localtime (current-time))))) + (spawn-shell-command + (string-append btrfs " subvolume snapshot" + " /home /snapshots/home/" date)))))) (stop #~(make-timer-destructor)) (actions (list timer-trigger-action))))