furmark heater
This commit is contained in:
@@ -79,6 +79,10 @@
|
|||||||
brightness = 0.9;
|
brightness = 0.9;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
misc = {
|
||||||
|
key_press_enables_dpms = true;
|
||||||
|
mouse_move_enables_dpms = true;
|
||||||
|
};
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
bind = [
|
bind = [
|
||||||
"$mainMod, C, exec, alacritty"
|
"$mainMod, C, exec, alacritty"
|
||||||
|
|||||||
@@ -14,18 +14,19 @@
|
|||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
systemd.services.heat-room = {
|
systemd.services.heat-room = {
|
||||||
description = "Morning room heating";
|
description = "Morning room heating";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "jeremy";
|
User = "jeremy";
|
||||||
RuntimeMaxSec = 3600;
|
};
|
||||||
};
|
script = ''
|
||||||
script = ''
|
${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
||||||
while true; do
|
hyprctl dispatch dpms off
|
||||||
${pkgs.hashcat}/bin/hashcat -b
|
sleep 1h
|
||||||
done
|
pkill furmark
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
systemd.timers.heat-room = {
|
systemd.timers.heat-room = {
|
||||||
|
|||||||
Reference in New Issue
Block a user