fix: add nixos-rebuild to dotfiles-rebuild PATH on sunken-ship 🔧
This commit is contained in:
parent
8ce36f8726
commit
4d6b64dee9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue