From e759d97779d1ea14e7dbe7a22611a955c95e01cc Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Fri, 24 Apr 2026 00:12:21 +0100 Subject: [PATCH] change --- config/hosts/aspects/doloro-laptop/home.nix | 1 + config/hosts/aspects/doloro-laptop/host.nix | 1 + config/modules/power-management/lavd.nix | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/hosts/aspects/doloro-laptop/home.nix b/config/hosts/aspects/doloro-laptop/home.nix index a4b95e8..2394f01 100644 --- a/config/hosts/aspects/doloro-laptop/home.nix +++ b/config/hosts/aspects/doloro-laptop/home.nix @@ -60,6 +60,7 @@ obsidian # intel-gpu-tools brightnessctl + surface-control ]; nixpkgs.config.allowUnfree = true; }; diff --git a/config/hosts/aspects/doloro-laptop/host.nix b/config/hosts/aspects/doloro-laptop/host.nix index 87ef6e0..17bed12 100644 --- a/config/hosts/aspects/doloro-laptop/host.nix +++ b/config/hosts/aspects/doloro-laptop/host.nix @@ -46,6 +46,7 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + services.upower.enable = true; # boot.kernelPackages = pkgs.linuxPackages_6_12; # Hibernate works on 6.12 but not on latest # boot.kernelPackages = pkgs.linuxPackages_latest; # Unpinned the linux version for now.. as i am not using hibernate that often # boot.kernelPackages = diff --git a/config/modules/power-management/lavd.nix b/config/modules/power-management/lavd.nix index 04cf554..b324784 100644 --- a/config/modules/power-management/lavd.nix +++ b/config/modules/power-management/lavd.nix @@ -18,7 +18,7 @@ # Most energy efficent scheduler setup.. systemd.services.scx.environment = { SCX_SCHEDULER_OVERRIDE = "scx_lavd"; - SCX_FLAGS_OVERRIDE = "--autopilot"; + SCX_FLAGS_OVERRIDE = "--autopower"; }; }; };