From 27855e737012e94e0fd182c546fdbf246b876414 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Thu, 5 Feb 2026 18:37:24 -0500 Subject: [PATCH] sleep --- configuration.nix | 13 ++++++++++--- hardware-configuration.nix | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index e7f3ca0..97b7891 100644 --- a/configuration.nix +++ b/configuration.nix @@ -29,7 +29,6 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "alien"; - networking.networkmanager.enable = true; time.timeZone = "America/Toronto"; @@ -95,7 +94,8 @@ ", PRINT, exec, hyprshot -zm region -o ~/pics/screenshots/" "SHIFT, PRINT, exec, hyprshot -zm window -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 "$mainMod, h, movefocus, l" @@ -308,7 +308,14 @@ powerOnBoot = true; }; - + networking.networkmanager = { + enable = true; + # This is the critical line that fixes your error + plugins = with pkgs; [ + networkmanager-openvpn + ]; + }; + services.ollama = { enable = true; acceleration = "rocm"; diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 46bf244..8588700 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -21,9 +21,9 @@ }; script = '' ${pkgs.furmark}/bin/furmark --demo furmark-gl & - sleep 1m + sleep 1s hyprctl dispatch dpms off - sleep 1h + sleep 2h pkill furmark ''; }; @@ -33,7 +33,7 @@ systemd.timers.heat-room = { wantedBy = [ "timers.target" ]; 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 WakeSystem = true; # Wakes the system from suspend/hibernate Unit = "heat-room.service";