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 = {