Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed Jan 5, 2024
1 parent 048562c commit 2f04780
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/nix-darwin/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
# Auto-upgrade macOS hosts periodically.
launchd.user.agents.auto-upgrade = {
command = "darwin-rebuild switch --refresh --flake github:carlthome/dotfiles";
serviceConfig.KeepAlive = false;
serviceConfig.RunAtLoad = true;
serviceConfig.ProcessType = "Background";
serviceConfig.StartCalendarInterval = [{ Hour = 0; Minute = 0; }];
serviceConfig = {
KeepAlive = false;
RunAtLoad = true;
ProcessType = "Background";
StartCalendarInterval = [{ Hour = 0; Minute = 0; }];
StandardErrorPath = "/tmp/auto-upgrade.err";
StandardOutPath = "/tmp/auto-upgrade.out";
};
};

# Install packages in system profile.
Expand Down

0 comments on commit 2f04780

Please sign in to comment.