Home : Disable auto-switch.

This commit is contained in:
Dmitry Voronin 2024-06-14 03:22:51 +03:00
parent ceb16560a4
commit 8d11e61227
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 6 additions and 1 deletions

View file

@ -1,8 +1,12 @@
{ ... }: {
{ lib, ... }: {
imports = [
./Backup.nix
./Container.nix
./Filesystem.nix
./Network.nix
];
# Disable auto-switch.
systemd.services.autoupdate.enable = lib.mkForce false;
systemd.timers.autoupdate.enable = lib.mkForce false;
}

View file

@ -30,6 +30,7 @@
};
systemd.timers.autoupdate = {
enable = true;
timerConfig = {
OnCalendar = "hourly";
Persistent = true;