Daniel Siepmann
2823c2f0f9
Use home-manager to create xsession. Readme contains info on how to start xsession on login. That way home-manager can maintain languages, keyboard and further stuff globally for user. No more need to set stuff as workaround within i3 or zsh. Also enabled to start systemd units after login, as home-manager will create and trigger `hm-graphical-session.target`.
19 lines
263 B
Nix
19 lines
263 B
Nix
{ pkgs }:
|
|
|
|
{
|
|
Unit = {
|
|
Description = "Battery Icon";
|
|
PartOf = "graphical-session.target";
|
|
};
|
|
|
|
Service = {
|
|
ExecStart = "${pkgs.cbatticon}/bin/cbatticon -u 30";
|
|
};
|
|
|
|
Install = {
|
|
WantedBy = [
|
|
"hm-graphical-session.target"
|
|
];
|
|
};
|
|
}
|