From 8df8d8ffc7ab0b23e9287b0a74f952ec3337b250 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 22 Feb 2024 13:39:26 -0600 Subject: [PATCH] fix quotes in systemd service files --- hosts/othalan/services.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/othalan/services.nix b/hosts/othalan/services.nix index 3f70cd0..6b5e031 100644 --- a/hosts/othalan/services.nix +++ b/hosts/othalan/services.nix @@ -6,7 +6,9 @@ in { serviceConfig = { Type = "oneshot"; User = "daylin"; - ExecStart = ''${notes-git} commit -m ":memo: :robot: $(${pkgs.coreutils}/bin/date +'%T')" --no-gpg-sign -- notes''; + ExecStart = '' + ${pkgs.bash}/bin/bash -c '${notes-git} commit -m ":memo: :robot: $(${pkgs.coreutils}/bin/date +\'%%T\')" --no-gpg-sign -- notes' + ''; }; }; systemd.timers.notes-bot-timer = {