feat: configure auto suspend

This commit is contained in:
2026-03-11 21:25:32 +01:00
committed by hektor
parent 8e8250ed56
commit 934cbff81d
+2 -2
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 = {