From d239b2cc82312e787de3bcb9464b8d38825518e6 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 16 Feb 2021 21:08:25 +0100 Subject: [PATCH] Revert "Remove redundant argument from doom systemd units" This reverts commit 912b9071a5906498474b28f7b7c4c61d45008d51. --- modules/periodic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index d5832ad..a877710 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -8,7 +8,7 @@ wantedBy = [ "default.target" ]; path = with pkgs; [ bash emacsPgtkGcc git coreutils ]; script = '' - ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom upgrade" + ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y upgrade" ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom sync" ''; serviceConfig = { Type = "oneshot"; }; @@ -29,7 +29,7 @@ wantedBy = [ "default.target" ]; path = with pkgs; [ bash emacsPgtkGcc git coreutils ]; script = '' - ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom purge" + ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y purge" ''; serviceConfig = { Type = "oneshot"; }; };