nixpkgs/home/services/batteryicon.nix
Daniel Siepmann eb3282b453
Add replacement for i3 battery
The module doesn't work or exist anymore.
I use a lightwight battery icon instead which I add as a service to
start during login.

And I don't need the wifi thingy.
2022-05-19 07:18:51 +02:00

19 lines
250 B
Nix

{ pkgs }:
{
Unit = {
Description = "Battery Icon";
PartOf = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.cbatticon}/bin/cbatticon -u 30";
};
Install = {
WantedBy = [
"default.target"
];
};
}