more config updates

This commit is contained in:
stitchy 2024-03-14 01:46:44 +00:00
parent 8659535e96
commit 25078ab6d4
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
6 changed files with 24 additions and 6 deletions

View file

@ -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;

View file

@ -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