more config updates
This commit is contained in:
parent
8659535e96
commit
25078ab6d4
6 changed files with 24 additions and 6 deletions
|
@ -38,7 +38,7 @@
|
|||
|
||||
peers = [{
|
||||
publicKey = "atXy3zi3FLoxP8hgzJIIeLGks4Te9HrKkQGoaobholM=";
|
||||
presharedKeyFile = "/etc/nixos/hosts/gemini/wg.psk";
|
||||
presharedKeyFile = "/etc/nixos/hosts/gemini/wg.psk";
|
||||
allowedIPs = [ "10.100.0.0/24" ];
|
||||
endpoint = "moms.wireguard.stitchy.moe:47111";
|
||||
persistentKeepalive = 25;
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
system.nixos.tags = [ "Nya_Beginnings" ];
|
||||
|
||||
services.logind.powerKey = "ignore";
|
||||
services.logind.powerKeyLongPress = "poweroff";
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
dnsovertls = "opportunistic";
|
||||
|
@ -67,7 +69,7 @@
|
|||
CPU_MIN_PERF_ON_AC = 0;
|
||||
CPU_MAX_PERF_ON_AC = 100;
|
||||
CPU_MIN_PERF_ON_BAT = 0;
|
||||
CPU_MAX_PERF_ON_BAT = 30;
|
||||
CPU_MAX_PERF_ON_BAT = 50;
|
||||
|
||||
#Optional helps save long term battery health
|
||||
START_CHARGE_THRESH_BAT0 = 40; # 40 and bellow it starts to charge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue