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