sleep
This commit is contained in:
@@ -29,7 +29,6 @@
|
|||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
networking.hostName = "alien";
|
networking.hostName = "alien";
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
||||||
|
|
||||||
@@ -95,7 +94,8 @@
|
|||||||
", PRINT, exec, hyprshot -zm region -o ~/pics/screenshots/"
|
", PRINT, exec, hyprshot -zm region -o ~/pics/screenshots/"
|
||||||
"SHIFT, PRINT, exec, hyprshot -zm window -o ~/pics/screenshots/"
|
"SHIFT, PRINT, exec, hyprshot -zm window -o ~/pics/screenshots/"
|
||||||
"SUPER, PRINT, exec, hyprshot -zm output -o ~/pics/screenshots/"
|
"SUPER, PRINT, exec, hyprshot -zm output -o ~/pics/screenshots/"
|
||||||
"$mainMod, N, exec, codium ~/etc/nixos/configuratiuon.nix"
|
"$mainMod, N, exec, codium ~/etc/nixos/configuration.nix"
|
||||||
|
"$mainMod, L, exec, sleep 1s; hyprctl dispatch dpms off" # screen off
|
||||||
|
|
||||||
# Move between windows
|
# Move between windows
|
||||||
"$mainMod, h, movefocus, l"
|
"$mainMod, h, movefocus, l"
|
||||||
@@ -308,7 +308,14 @@
|
|||||||
powerOnBoot = true;
|
powerOnBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.networkmanager = {
|
||||||
|
enable = true;
|
||||||
|
# This is the critical line that fixes your error
|
||||||
|
plugins = with pkgs; [
|
||||||
|
networkmanager-openvpn
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
|
|||||||
@@ -21,9 +21,9 @@
|
|||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
||||||
sleep 1m
|
sleep 1s
|
||||||
hyprctl dispatch dpms off
|
hyprctl dispatch dpms off
|
||||||
sleep 1h
|
sleep 2h
|
||||||
pkill furmark
|
pkill furmark
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
systemd.timers.heat-room = {
|
systemd.timers.heat-room = {
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "*-*-* 04:00:00"; # Runs at 4:00:00 AM every day
|
OnCalendar = "*-*-* 4:00:00"; # Runs at 4:00:00 AM every day
|
||||||
Persistent = true; # Run immediately if a scheduled time was missed
|
Persistent = true; # Run immediately if a scheduled time was missed
|
||||||
WakeSystem = true; # Wakes the system from suspend/hibernate
|
WakeSystem = true; # Wakes the system from suspend/hibernate
|
||||||
Unit = "heat-room.service";
|
Unit = "heat-room.service";
|
||||||
|
|||||||
Reference in New Issue
Block a user