From dfbdffb6a1cf0b88d4a86a34fa2b438e5f6dcaee Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 22 Dec 2020 00:26:04 +0100 Subject: [PATCH] Fix doom purge service --- modules/periodic.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"; }; };