Disable reboot for helium and lithium, since they are regularly rebooted anyway

This commit is contained in:
Vili Sinervä 2024-09-09 15:52:21 +03:00
parent 2097e9bc13
commit 9014f8dfec
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 4 additions and 0 deletions

View file

@ -74,6 +74,8 @@
${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-0 --auto --pos 0x0 --primary --output eDP --auto --pos 3840x360 ${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 [ swapDevices = pkgs.lib.mkForce [
{ {
device = "/var/lib/swapfile"; device = "/var/lib/swapfile";

View file

@ -45,6 +45,8 @@
../hardware-specific/usb-automount.nix ../hardware-specific/usb-automount.nix
]; ];
system.autoUpgrade.allowReboot = pkgs.lib.mkForce false;
swapDevices = pkgs.lib.mkForce [ swapDevices = pkgs.lib.mkForce [
{ {
device = "/var/lib/swapfile"; device = "/var/lib/swapfile";