removed room heater
This commit is contained in:
@@ -13,37 +13,35 @@
|
|||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
systemd.services.heat-room = {
|
# systemd.services.heat-room = {
|
||||||
description = "Morning room heating";
|
# description = "Morning room heating";
|
||||||
after = [ "graphical-session.target" ];
|
# after = [ "graphical-session.target" ];
|
||||||
environment = {
|
# environment = {
|
||||||
WAYLAND_DISPLAY = "wayland-1";
|
# WAYLAND_DISPLAY = "wayland-1";
|
||||||
XDG_RUNTIME_DIR = "/run/user/1000";
|
# XDG_RUNTIME_DIR = "/run/user/1000";
|
||||||
};
|
# };
|
||||||
serviceConfig = {
|
# serviceConfig = {
|
||||||
Type = "oneshot";
|
# Type = "oneshot";
|
||||||
User = "jeremy";
|
# User = "jeremy";
|
||||||
};
|
# };
|
||||||
script = ''
|
# script = ''
|
||||||
${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
# ${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
||||||
sleep 1s
|
# sleep 1s
|
||||||
${pkgs.hyprland}/bin/hyprctl dispatch dpms off
|
# ${pkgs.hyprland}/bin/hyprctl dispatch dpms off
|
||||||
sleep 2h
|
# sleep 2h
|
||||||
pkill furmark
|
# pkill furmark
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
|
|
||||||
|
# systemd.timers.heat-room = {
|
||||||
|
# wantedBy = [ "timers.target" ];
|
||||||
systemd.timers.heat-room = {
|
# timerConfig = {
|
||||||
wantedBy = [ "timers.target" ];
|
# OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day
|
||||||
timerConfig = {
|
# Persistent = true; # Run immediately if a scheduled time was missed
|
||||||
OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day
|
# WakeSystem = true; # Wakes the system from suspend/hibernate
|
||||||
Persistent = true; # Run immediately if a scheduled time was missed
|
# Unit = "heat-room.service";
|
||||||
WakeSystem = true; # Wakes the system from suspend/hibernate
|
# };
|
||||||
Unit = "heat-room.service";
|
# };
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user