Only set a suspend timer on the laptop

This commit is contained in:
SebastianStork 2024-04-14 00:08:07 +02:00
parent 02d107973a
commit 15717a9837

View file

@ -11,5 +11,15 @@
};
wayland.windowManager.hyprland.settings.monitor = "eDP-1,1920x1080@60,0x0,1";
services.hypridle = {
beforeSleepCmd = "loginctl lock-session";
listeners = [
{
timeout = 1800;
onTimeout = "systemctl suspend";
}
];
};
};
}