[fanny] add disable autoupdate option at startup #130

Open
ahtlon wants to merge 1 commits from debug_mode into master
Owner
No description provided.
ahtlon added 1 commit 2026-02-21 12:55:36 +01:00
[fanny] add disable autoupdate option at startup
Some checks failed
Check flake syntax / flake-check (push) Has been cancelled
412a5b25bc
ahtlon force-pushed debug_mode from 412a5b25bc to 2ddf03bba1 2026-02-21 12:55:52 +01:00 Compare
Owner

Besides disabling autoupdate.serivce the hosts microvm-up-${hostname}.timers should be disabled too.

They get declared here:

"microvm-update-${name}" = {
wantedBy = [ "timers.target" ];
timerConfig = {
Unit = "microvm-update@${name}.service";
# three times per hour
OnCalendar = "*:0,20,40:00";
Persistent = true;
};
};
}) {} (cfg.deployHosts);
};

I think also an additional shellscript extra to the specialization that disables/enables updates would be nice, so that no reboot is required during maintainance. I can also take care of such a script if you consider this out of scope of this PR.

Besides disabling autoupdate.serivce the hosts `microvm-up-${hostname}.timers` should be disabled too. They get declared here: https://git.dynamicdiscord.de/malobeo/infrastructure/src/commit/9d7ab9f901ad419bf877746e73766d4086feedd2/machines/modules/malobeo/microvm_host.nix#L144-L154 I think also an additional shellscript extra to the specialization that disables/enables updates would be nice, so that no reboot is required during maintainance. I can also take care of such a script if you consider this out of scope of this PR.
All checks were successful
Check flake syntax / flake-check (push) Successful in 5m54s
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin debug_mode:debug_mode
git checkout debug_mode
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malobeo/infrastructure#130