diff --git a/configuration.nix b/configuration.nix index 3cf48fb..87d6e02 100644 --- a/configuration.nix +++ b/configuration.nix @@ -79,6 +79,10 @@ brightness = 0.9; }; }; + misc = { + key_press_enables_dpms = true; + mouse_move_enables_dpms = true; + }; "$mainMod" = "SUPER"; bind = [ "$mainMod, C, exec, alacritty" diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 2481b8e..3cd35c9 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -14,18 +14,19 @@ boot.extraModulePackages = [ ]; systemd.services.heat-room = { - description = "Morning room heating"; - serviceConfig = { - Type = "oneshot"; - User = "jeremy"; - RuntimeMaxSec = 3600; - }; - script = '' - while true; do - ${pkgs.hashcat}/bin/hashcat -b - done - ''; - }; + description = "Morning room heating"; + serviceConfig = { + Type = "oneshot"; + User = "jeremy"; + }; + script = '' + ${pkgs.furmark}/bin/furmark --demo furmark-gl & + hyprctl dispatch dpms off + sleep 1h + pkill furmark + ''; + }; + systemd.timers.heat-room = {