Working directory so builds can actually _go_ somewhere

This commit is contained in:
Daniel Flanagan 2024-03-28 17:13:57 -05:00
parent 213f531f7c
commit 4170c92d44

View file

@ -157,6 +157,8 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
''; '';
path = with pkgs; [git nixos-rebuild]; path = with pkgs; [git nixos-rebuild];
serviceConfig = { serviceConfig = {
# TODO: mkdir -p...?
WorkingDirectory = "/home/daniel/.home/nightly-flake-builds";
Type = "oneshot"; Type = "oneshot";
User = "daniel"; # might have to run as me for git ssh access to the repo User = "daniel"; # might have to run as me for git ssh access to the repo
}; };