From f4ae9e1e5bf06c7e518ce4ac946a4c5c6c8f439f Mon Sep 17 00:00:00 2001 From: death916 Date: Thu, 5 Mar 2026 21:08:39 -0800 Subject: [PATCH] res --- home-manager/hyprland.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index f747b69..8c71bc7 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -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"; })