13 lines
177 B
Nix
13 lines
177 B
Nix
|
{
|
||
|
services = {
|
||
|
logind.extraConfig = ''
|
||
|
HandlePowerKey=suspend
|
||
|
'';
|
||
|
|
||
|
power-profiles-daemon.enable = true;
|
||
|
|
||
|
# battery info
|
||
|
upower.enable = true;
|
||
|
};
|
||
|
}
|