Compare commits
3 commits
e215f7aa1d
...
8c298c26f9
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 8c298c26f9 | ||
Bruno BELANYI | 55a04cfac3 | ||
Bruno BELANYI | 1783c2838b |
|
@ -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;
|
||||
|
|
|
@ -11,6 +11,7 @@ prompt_pass() {
|
|||
}
|
||||
|
||||
error_out() {
|
||||
printf '%s\n' "$1" >&2
|
||||
rofi -dmenu -no-fixed-num-lines -p "$1"
|
||||
exit 1
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue