diff --git a/nix/configurations/vanadium/nixos/battery.nix b/nix/configurations/vanadium/nixos/battery.nix index 57ca236a..95eda6f8 100644 --- a/nix/configurations/vanadium/nixos/battery.nix +++ b/nix/configurations/vanadium/nixos/battery.nix @@ -1,11 +1,7 @@ { - systemd.sleep.extraConfig = '' - HibernateDelaySec=1d - ''; - services.logind = { - powerKey = "hibernate"; - lidSwitch = "suspend-then-hibernate"; + # Note: vanadium's btrfs disk layout has been changed and the swap has been reduced. It will not work with hibernate anymore. + lidSwitch = "suspend"; lidSwitchDocked = "ignore"; }; }