From 88b27f3933031bfe95fb0a1e668cc6bd327276ef Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Thu, 8 Oct 2026 19:25:36 -0500 Subject: [PATCH] try stopping charing at 60 --- hosts/servers/dionysus/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/servers/dionysus/default.nix b/hosts/servers/dionysus/default.nix index 27bf334..ad4cee0 100644 --- a/hosts/servers/dionysus/default.nix +++ b/hosts/servers/dionysus/default.nix @@ -15,6 +15,10 @@ networking.hostName = "dionysus"; networking.hostId = "f44013cb"; + systemd.tmpfiles.rules = [ + "w /sys/class/power_supply/BAT0/charge_control_end_threshold - - - - 60" + ]; + fileSystems."/" = { device = "/dev/disk/by-uuid/c68b883a-7391-4433-ae9b-7f6db13d21c9"; fsType = "ext4";