mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
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>
7 lines
253 B
Nix
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";
|
|
};
|
|
}
|