diff --git a/modules/periodic.nix b/modules/periodic.nix index 3b4fe38..a877710 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -28,8 +28,9 @@ description = "Purge Doom Emacs"; wantedBy = [ "default.target" ]; path = with pkgs; [ bash emacsPgtkGcc git coreutils ]; - script = - "${pkgs.bash}/bin/bash -c '/home/coolneng/.emacs.d/bin/doom -y purge'"; + script = '' + ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y purge" + ''; serviceConfig = { Type = "oneshot"; }; };