From 2222833fd33cb737e5889844558d50a2c76aaa64 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 4 Apr 2024 00:08:33 +0200 Subject: [PATCH] auto update --- common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common.nix b/common.nix index 12fe42a..a55e8f2 100644 --- a/common.nix +++ b/common.nix @@ -239,6 +239,12 @@ in ''; }; + # auto update + system.autoUpgrade = { + enable = true; + allowReboot = false; + }; + # avoid suspend ever to be triggered systemd.targets.sleep.enable = false; systemd.targets.suspend.enable = false;