feat: configure auto suspend

This commit is contained in:
2026-01-22 19:55:44 +01:00
parent a390428ca9
commit 600e55de1f

View File

@@ -1,11 +1,11 @@
{ pkgs, ... }:
{
programs.niri.enable = true;
services.dbus.enable = true;
services.logind.settings.Login = {
HandleLidSwitch = "suspend";
IdleAction = "suspend";
IdleActionSec = 1800;
};
services.displayManager.ly = {