From 8c0ad59c3d264019a6c888d7b00409ec0d04b314 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 9 Feb 2026 12:33:09 -0500 Subject: [PATCH] correct hyprctl calling --- hardware-configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 8588700..92736c7 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -15,6 +15,11 @@ systemd.services.heat-room = { description = "Morning room heating"; + after = [ "graphical-session.target" ]; + environment = { + WAYLAND_DISPLAY = "wayland-1"; + XDG_RUNTIME_DIR = "/run/user/1000"; + }; serviceConfig = { Type = "oneshot"; User = "jeremy"; @@ -22,7 +27,7 @@ script = '' ${pkgs.furmark}/bin/furmark --demo furmark-gl & sleep 1s - hyprctl dispatch dpms off + ${pkgs.hyprland}/bin/hyprctl dispatch dpms off sleep 2h pkill furmark '';