Commit 50e42b241caa
Changed files (2)
home
common
desktop
sway
systems
kyushu
home/common/desktop/sway/default.nix
@@ -223,6 +223,9 @@ in
command = "systemctl --user restart kanshi";
always = true;
}
+ {
+ command = "${pkgs.battery-monitor}/bin/battery-monitor";
+ }
{
command = "${pkgs.pa-notify}/bin/pa-notify -u0";
always = true;
systems/kyushu/home.nix
@@ -1,27 +1,27 @@
-{ pkgs, ... }:
+{ ... }:
{
imports = [
../../home/common/dev/containers.nix
];
- systemd.user.services.battery-monitor = {
- Unit = {
- Description = "battery monitory service";
- After = "graphical-session.target";
- PartOf = "graphical-session.target";
-
- # Avoid killing the Emacs session, which may be full of
- # unsaved buffers.
- X-RestartIfChanged = false;
- };
- Service = {
- ExecStart = ''
- ${pkgs.battery-monitor}
- '';
- Restart = "on-failure";
- };
- Install = {
- WantedBy = [ "graphical-session.target" ];
- };
- };
+ # systemd.user.services.battery-monitor = {
+ # Unit = {
+ # Description = "battery monitory service";
+ # After = "graphical-session.target";
+ # PartOf = "graphical-session.target";
+ #
+ # # Avoid killing the Emacs session, which may be full of
+ # # unsaved buffers.
+ # X-RestartIfChanged = false;
+ # };
+ # Service = {
+ # ExecStart = ''
+ # ${pkgs.battery-monitor}/bin/battery-monitor
+ # '';
+ # Restart = "on-failure";
+ # };
+ # Install = {
+ # WantedBy = [ "graphical-session.target" ];
+ # };
+ # };
}