From 9cd5470c55f00ca33f9cf08488ad43ecfcde6f90 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Sun, 7 Dec 2025 19:51:25 -0800 Subject: [PATCH] Missing cd --- modules/system/git-auto-rebuild.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/git-auto-rebuild.nix b/modules/system/git-auto-rebuild.nix index d3ad5f9..dee9e19 100644 --- a/modules/system/git-auto-rebuild.nix +++ b/modules/system/git-auto-rebuild.nix @@ -8,7 +8,7 @@ # startAt = "*:0/1"; serviceConfig = { Type = "simple"; - ExecStart = "/run/current-system/sw/bin/bash -c '/etc/nixos && git pull && sudo nixos-rebuild switch --flake #$(hostname)'"; + ExecStart = "/run/current-system/sw/bin/bash -c 'cd /etc/nixos && git pull && sudo nixos-rebuild switch --flake #$(hostname)'"; }; };