diff --git a/flake.lock b/flake.lock index 857c614..8c30dbc 100644 --- a/flake.lock +++ b/flake.lock @@ -165,11 +165,11 @@ ] }, "locked": { - "lastModified": 1767104570, - "narHash": "sha256-GKgwu5//R+cLdKysZjGqvUEEOGXXLdt93sNXeb2M/Lk=", + "lastModified": 1767824564, + "narHash": "sha256-DRhbz2dZaEmj5MgLFMXjEPfmKYfMG6LwNT9Bv8zeLPQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "e4e78a2cbeaddd07ab7238971b16468cc1d14daf", + "rev": "4fee4bd14b5e4178855ad0041df89fa44f3f2bea", "type": "github" }, "original": { @@ -186,11 +186,11 @@ ] }, "locked": { - "lastModified": 1766770998, - "narHash": "sha256-yYNrwVcyY7adaRrRXZ2IVz6UbeAkIkrUoQO3BlyWS/4=", + "lastModified": 1767723471, + "narHash": "sha256-3rYPeWlQseBP6xuGS4+HzkyjB1uS4l+xsaSslU7nUdk=", "owner": "pfassina", "repo": "lazyvim-nix", - "rev": "af7dcd12829726e6ea7860ceb23a0c447dd9ecd6", + "rev": "b635476dfffca1530edb9c926cbd3026079d0d12", "type": "github" }, "original": { @@ -201,11 +201,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1766902085, - "narHash": "sha256-coBu0ONtFzlwwVBzmjacUQwj3G+lybcZ1oeNSQkgC0M=", + "lastModified": 1767767207, + "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c0b0e0fddf73fd517c3471e546c0df87a42d53f4", + "rev": "5912c1772a44e31bf1c63c0390b90501e5026886", "type": "github" }, "original": { @@ -269,11 +269,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1766603026, - "narHash": "sha256-J2DDdRqSU4w9NNgkMfmMeaLIof5PXtS9RG7y6ckDvQE=", + "lastModified": 1767652667, + "narHash": "sha256-zsgfockkvK0JrSvzVAb8JeUq3SDdITu6ViUf7yeIpi4=", "owner": "danth", "repo": "stylix", - "rev": "551df12ee3ebac52c5712058bd97fd9faa4c3430", + "rev": "a4406d9799d002c41296c72378a1094a8fc9aa1b", "type": "github" }, "original": { diff --git a/modules/services/power.nix b/modules/services/power.nix index aa4fa6f..ae145c9 100644 --- a/modules/services/power.nix +++ b/modules/services/power.nix @@ -1,5 +1,6 @@ { hostname, lib, pkgs, ... }: -with lib; let +with lib; +let inherit (import ../../hosts/${hostname}/env.nix) Power-control; in { @@ -7,17 +8,18 @@ in services.tlp = lib.mkIf (Power-control == "TLP") { enable = true; + settings = { - CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_AC = "powersave"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "powersave"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; CPU_MIN_PERF_ON_AC = 0; CPU_MAX_PERF_ON_AC = 100; CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 85; + CPU_MAX_PERF_ON_BAT = 100; }; }; } diff --git a/modules/services/scx.nix b/modules/services/scx.nix index 49ee98f..c420f1c 100644 --- a/modules/services/scx.nix +++ b/modules/services/scx.nix @@ -5,7 +5,7 @@ gvfs.enable = true; scx = { enable = true; - scheduler = "scx_lavd"; + scheduler = "scx_bpfland"; }; }; } diff --git a/modules/system/environment.nix b/modules/system/environment.nix index b06e8c3..a690083 100644 --- a/modules/system/environment.nix +++ b/modules/system/environment.nix @@ -97,7 +97,7 @@ in { # Agent opencode - gemini-cli + gemini-cli-bin ]; };