home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit dbab7d889b088538f8975300651cf8193abdc532
parent 0cd7ecbecbbb411e16569c13414cb9c250d1c54f
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sun,  3 May 2020 13:37:01 +0200

nixos-auto-update: do the git pull as vincent

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/nix-auto-update.nixos.nix | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/profiles/nix-auto-update.nixos.nix b/modules/profiles/nix-auto-update.nixos.nix @@ -52,8 +52,8 @@ in script = '' export PATH=/run/current-system/sw/bin cd /etc/nixos/ - git pull --autostash --rebase - /run/current-system/sw/bin/make update switch + runuser -l vincent -c 'git pull --autostash --rebase' + make update switch ''; startAt = cfg.dates; onFailure = [ "status-email-root@%n.service" ];