Skip to content

Remove persistent timer for auto-upgrades#186

Merged
booxter merged 1 commit intomasterfrom
persistent-timer-reboot
Mar 4, 2026
Merged

Remove persistent timer for auto-upgrades#186
booxter merged 1 commit intomasterfrom
persistent-timer-reboot

Conversation

@booxter
Copy link
Owner

@booxter booxter commented Mar 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 4, 2026 02:22
@booxter booxter enabled auto-merge March 4, 2026 02:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Disables the persistent systemd timer behavior for NixOS auto-upgrades so missed runs won’t “catch up” after downtime.

Changes:

  • Set system.autoUpgrade.persistent to false in the NixOS module config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

dates = lib.mkDefault "Sat 03:00";
randomizedDelaySec = "45min";
persistent = true;
persistent = false;
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dates is set with lib.mkDefault, but persistent is set as a hard value. If this module is meant to provide defaults (rather than force behavior), consider making this consistent by using lib.mkDefault false so downstream configs can override without mkForce.

Suggested change
persistent = false;
persistent = lib.mkDefault false;

Copilot uses AI. Check for mistakes.
@booxter booxter merged commit 6a69e61 into master Mar 4, 2026
23 of 29 checks passed
@booxter booxter deleted the persistent-timer-reboot branch March 4, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants