fix quotes in systemd service files

This commit is contained in:
Daylin Morgan 2024-02-22 13:39:26 -06:00
parent 055132a2f1
commit 8df8d8ffc7
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -6,7 +6,9 @@ in {
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "daylin"; 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 = { systemd.timers.notes-bot-timer = {