diff --git a/modules/services/tlp.nix b/modules/services/tlp.nix index a560319..8c9edd6 100644 --- a/modules/services/tlp.nix +++ b/modules/services/tlp.nix @@ -13,6 +13,10 @@ in enable = true; settings = { + # Set CPU scaling aggressively when power is not an issue + CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + # Keep charge between 60% and 80% to preserve battery life START_CHARGE_THRESH_BAT0 = 60; STOP_CHARGE_THRESH_BAT0 = 80; diff --git a/pkgs/bw-pass/bw-pass b/pkgs/bw-pass/bw-pass index 3fddf1f..124714a 100755 --- a/pkgs/bw-pass/bw-pass +++ b/pkgs/bw-pass/bw-pass @@ -11,6 +11,7 @@ prompt_pass() { } error_out() { + printf '%s\n' "$1" >&2 rofi -dmenu -no-fixed-num-lines -p "$1" exit 1 } diff --git a/pkgs/unified-hosts-lists/default.nix b/pkgs/unified-hosts-lists/default.nix index 4801ad0..9fb052a 100644 --- a/pkgs/unified-hosts-lists/default.nix +++ b/pkgs/unified-hosts-lists/default.nix @@ -1,13 +1,13 @@ { lib, fetchFromGitHub, stdenvNoCC }: stdenvNoCC.mkDerivation rec { pname = "unified-hosts-lists"; - version = "3.6.4"; + version = "3.8.5"; src = fetchFromGitHub { owner = "StevenBlack"; repo = "hosts"; rev = version; - sha256 = "sha256-U6vRwbFSYka2VS8M1z0n+FaTkKKwdV/cCWIKxp487/I="; + sha256 = "sha256-7oYuGegrHVUvAvA16iR8OEe5eTMeSybShSa1PJOe5No="; }; phases = [ "installPhase" ];