Compare commits

..

2 Commits

2 changed files with 3 additions and 1 deletions

View File

@ -97,6 +97,7 @@
services.upower = { services.upower = {
enable = true; enable = true;
percentageCritical = 5; percentageCritical = 5;
criticalPowerAction = "HybridSleep";
}; };
# Import other configuration modules # Import other configuration modules

View File

@ -108,7 +108,8 @@ in {
path = [ pkgs.emacs pkgs.git ]; path = [ pkgs.emacs pkgs.git ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "/bin/sh /home/coolneng/.emacs.d/bin/doom -y upgrade"; ExecStart =
"/bin/sh /home/coolneng/.emacs.d/bin/doom -y upgrade ; /bin/sh /home/coolneng/.emacs.d/bin/doom -y update";
}; };
}; };