mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Use suspend-then-hibernate by default, except for inspiron
This commit is contained in:
parent
5e5631f00a
commit
c2da5a924d
2 changed files with 8 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
home.packages = [
|
||||
wrappers.hyprlock
|
||||
pkgs.brightnessctl
|
||||
(pkgs.writeScriptBin "lock-suspend" "loginctl lock-session && sleep 0.5 && systemctl suspend")
|
||||
(pkgs.writeScriptBin "lock-suspend" "loginctl lock-session && sleep 0.5 && systemctl suspend-then-hibernate")
|
||||
];
|
||||
|
||||
services.hypridle = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue