This commit is contained in:
death916 2026-03-05 21:08:39 -08:00
parent 5bbcc50e70
commit f4ae9e1e5b

View file

@ -1,5 +1,6 @@
{
config,
osConfig,
pkgs,
inputs,
unstablePkgs,
@ -267,7 +268,7 @@
on-resume = "hyprctl dispatch dpms on";
}
# Suspend the laptop after 30 minutes, but NOT the desktop
(lib.mkIf (config.networking.hostName != "death-pc") {
(lib.mkIf (osConfig.networking.hostName != "death-pc") {
timeout = 2800;
on-timeout = "systemctl suspend";
})