nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 195669a214436d935fb29490f7c48747ecda347b
parent d63636220a1e0c2a52f0de872d1ceebcd9ad5162
Author: Peter <peter@minskio.co.uk>
Date:   Sun,  4 Oct 2026 17:31:47 +0100

Sometimes won't wake without this

Diffstat:
Mhome/hyprland.nix | 2+-
Mscripts/power-menu.nix | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/home/hyprland.nix b/home/hyprland.nix @@ -53,7 +53,7 @@ in hl.config({master={new_status="master"}}) hl.config({scrolling={fullscreen_on_one_column=true}}) -- Misc - hl.config({misc={force_default_wallpaper=0,disable_hyprland_logo=true,disable_splash_rendering=true,enable_swallow=true,swallow_regex="^Alacritty$"}}) + hl.config({misc={force_default_wallpaper=0,disable_hyprland_logo=true,disable_splash_rendering=true,enable_swallow=true,swallow_regex="^Alacritty$",mouse_move_enables_dpms=true,key_press_enables_dpms=true}}) -- Input hl.config({input={numlock_by_default=${lib.boolToString numlockEnabled},kb_layout="gb",kb_options="caps:backspace",follow_mouse=1,sensitivity=0,accel_profile="flat",touchpad={natural_scroll=false}}}) -- Launch binds diff --git a/scripts/power-menu.nix b/scripts/power-menu.nix @@ -30,7 +30,6 @@ let ;; 'Turn off screen') - hyprctl eval 'hl.config({ misc = { mouse_move_enables_dpms = true, key_press_enables_dpms = true } })' sleep 0.5 hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' ;;