Home : Disable auto-switch.
This commit is contained in:
parent
ceb16560a4
commit
8d11e61227
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
};
|
||||
|
||||
systemd.timers.autoupdate = {
|
||||
enable = true;
|
||||
timerConfig = {
|
||||
OnCalendar = "hourly";
|
||||
Persistent = true;
|
||||
|
|
Loading…
Reference in a new issue