From 912b9071a5906498474b28f7b7c4c61d45008d51 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 18 Jan 2021 10:56:05 +0100 Subject: [PATCH] Remove redundant argument from doom systemd units --- modules/periodic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index a877710..d5832ad 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 -y upgrade" + ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom 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 -y purge" + ${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom purge" ''; serviceConfig = { Type = "oneshot"; }; };