diff --git a/hardware-configuration.nix b/hardware-configuration.nix index ee6851d..3fafb78 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -13,37 +13,35 @@ boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - 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"; - }; - script = '' - ${pkgs.furmark}/bin/furmark --demo furmark-gl & - sleep 1s - ${pkgs.hyprland}/bin/hyprctl dispatch dpms off - sleep 2h - pkill furmark - ''; - }; + # 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"; + # }; + # script = '' + # ${pkgs.furmark}/bin/furmark --demo furmark-gl & + # sleep 1s + # ${pkgs.hyprland}/bin/hyprctl dispatch dpms off + # sleep 2h + # pkill furmark + # ''; + # }; - - - systemd.timers.heat-room = { - wantedBy = [ "timers.target" ]; - timerConfig = { - OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day - Persistent = true; # Run immediately if a scheduled time was missed - WakeSystem = true; # Wakes the system from suspend/hibernate - Unit = "heat-room.service"; - }; - }; + # systemd.timers.heat-room = { + # wantedBy = [ "timers.target" ]; + # timerConfig = { + # OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day + # Persistent = true; # Run immediately if a scheduled time was missed + # WakeSystem = true; # Wakes the system from suspend/hibernate + # Unit = "heat-room.service"; + # }; + # }; hardware.graphics = { enable = true;