2024-06-28 19:12:55 +01:00
|
|
|
{ config
|
|
|
|
, flake-inputs
|
|
|
|
, ...
|
2024-04-08 19:02:53 +01:00
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
flake-inputs.sonnenshift.nixosModules.default
|
|
|
|
];
|
|
|
|
|
|
|
|
services.batteryManager = {
|
|
|
|
enable = true;
|
|
|
|
battery = "3ca39300-c523-4315-b9a3-d030f85a9373";
|
|
|
|
|
|
|
|
emailFile = "${config.sops.secrets."battery-manager/email".path}";
|
|
|
|
passwordFile = "${config.sops.secrets."battery-manager/password".path}";
|
|
|
|
};
|
|
|
|
}
|