summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-04 00:08:33 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-04 00:08:33 +0200
commit2222833fd33cb737e5889844558d50a2c76aaa64 (patch)
tree2eedf9693056c8ae432d3ccfc72811a2667c3571 /common.nix
parenta555ddd2d308290b30768df7fda8b0381e883fc3 (diff)
auto update
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix6
1 files changed, 6 insertions, 0 deletions
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;