fix: add nixos-rebuild to dotfiles-rebuild PATH on sunken-ship 🔧

This commit is contained in:
DannyDannyDanny 2026-04-04 11:25:59 +02:00
parent 8ce36f8726
commit 4d6b64dee9

View file

@ -122,7 +122,7 @@ in
# Pull dotfiles and rebuild if the repo has new commits.
systemd.services.dotfiles-rebuild = {
description = "Pull dotfiles and run nixos-rebuild if repo changed";
path = with pkgs; [ git nix ];
path = with pkgs; [ git nix nixos-rebuild ];
environment.GIT_CONFIG_COUNT = "1";
environment.GIT_CONFIG_KEY_0 = "safe.directory";
environment.GIT_CONFIG_VALUE_0 = dotfilesDir;