From 9014f8dfecd62ddd08c36834bea0fa17e74cde64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Mon, 9 Sep 2024 15:52:21 +0300 Subject: [PATCH] Disable reboot for helium and lithium, since they are regularly rebooted anyway --- machine-confs/helium.nix | 2 ++ machine-confs/lithium.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/machine-confs/helium.nix b/machine-confs/helium.nix index 52e4d20..d19966d 100644 --- a/machine-confs/helium.nix +++ b/machine-confs/helium.nix @@ -74,6 +74,8 @@ ${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-0 --auto --pos 0x0 --primary --output eDP --auto --pos 3840x360 ''; + system.autoUpgrade.allowReboot = pkgs.lib.mkForce false; + swapDevices = pkgs.lib.mkForce [ { device = "/var/lib/swapfile"; diff --git a/machine-confs/lithium.nix b/machine-confs/lithium.nix index c74edf6..a4af369 100644 --- a/machine-confs/lithium.nix +++ b/machine-confs/lithium.nix @@ -45,6 +45,8 @@ ../hardware-specific/usb-automount.nix ]; + system.autoUpgrade.allowReboot = pkgs.lib.mkForce false; + swapDevices = pkgs.lib.mkForce [ { device = "/var/lib/swapfile";