.files/nix/configurations/vanadium/nixos/battery.nix
Léana 江 b50954a4ef Upgrade to 25.11 (#25)
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/25
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
2025-11-28 04:30:58 +01:00

7 lines
253 B
Nix

{
services.logind.settings = {
# Note: vanadium's btrfs disk layout has been changed and the swap has been reduced. It will not work with hibernate anymore.
Login.HandleLidSwitch = "suspend";
Login.HandleLidSwitchDocked = "ignore";
};
}