Compare commits
No commits in common. "8c298c26f9a7e12ba5aeb7ca6fe52b1e09baba4a" and "e215f7aa1d5b8ebc79a2bdcbafe5b55b33aa00d1" have entirely different histories.
8c298c26f9
...
e215f7aa1d
|
@ -13,10 +13,6 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
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
|
# Keep charge between 60% and 80% to preserve battery life
|
||||||
START_CHARGE_THRESH_BAT0 = 60;
|
START_CHARGE_THRESH_BAT0 = 60;
|
||||||
STOP_CHARGE_THRESH_BAT0 = 80;
|
STOP_CHARGE_THRESH_BAT0 = 80;
|
||||||
|
|
|
@ -11,7 +11,6 @@ prompt_pass() {
|
||||||
}
|
}
|
||||||
|
|
||||||
error_out() {
|
error_out() {
|
||||||
printf '%s\n' "$1" >&2
|
|
||||||
rofi -dmenu -no-fixed-num-lines -p "$1"
|
rofi -dmenu -no-fixed-num-lines -p "$1"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ lib, fetchFromGitHub, stdenvNoCC }:
|
{ lib, fetchFromGitHub, stdenvNoCC }:
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "unified-hosts-lists";
|
pname = "unified-hosts-lists";
|
||||||
version = "3.8.5";
|
version = "3.6.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "StevenBlack";
|
owner = "StevenBlack";
|
||||||
repo = "hosts";
|
repo = "hosts";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-7oYuGegrHVUvAvA16iR8OEe5eTMeSybShSa1PJOe5No=";
|
sha256 = "sha256-U6vRwbFSYka2VS8M1z0n+FaTkKKwdV/cCWIKxp487/I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
|
Loading…
Reference in a new issue