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
1 changed files with 3 additions and 1 deletions

View File

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