From 7c6e3be17875286d25a8ec2a2ad7c71c56258250 Mon Sep 17 00:00:00 2001 From: spl3g Date: Tue, 16 Sep 2025 13:09:22 +0300 Subject: fix: change up some things for my new laptop --- nixos/laptop/configuration.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'nixos/laptop/configuration.nix') diff --git a/nixos/laptop/configuration.nix b/nixos/laptop/configuration.nix index 8cf2afb..518fe20 100644 --- a/nixos/laptop/configuration.nix +++ b/nixos/laptop/configuration.nix @@ -22,18 +22,18 @@ powerManagement.enable = true; services.tlp = { - enable = true; + enable = false; settings = { + CPU_SCALING_GOVERNOR_ON_BAT = "performance"; CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "performance"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_MIN_PERF_ON_AC = 0; CPU_MAX_PERF_ON_AC = 100; CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 20; + CPU_MAX_PERF_ON_BAT = 100; USB_AUTOSUSPEND = 0; }; @@ -51,6 +51,9 @@ pkgs.android-udev-rules ]; + programs.hyprland.enable = true; + services.flatpak.enable = true; + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "23.05"; } -- cgit v1.2.3