Regenerated
This commit is contained in:
+359
-362
File diff suppressed because it is too large
Load Diff
+3
-6
@@ -1653,16 +1653,13 @@ in
|
|||||||
#################################
|
#################################
|
||||||
systemd.user.services.hypridle = {
|
systemd.user.services.hypridle = {
|
||||||
description = "Hypridle (Hyprland idle daemon)";
|
description = "Hypridle (Hyprland idle daemon)";
|
||||||
after = [ "graphical-session.target" "hyprland-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
requires = [ "graphical-session.target" ];
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.hypridle}/bin/hypridle";
|
ExecStart = "${pkgs.hypridle}/bin/hypridle";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "5s";
|
Environment = "HOME=/home/${username}";
|
||||||
StartLimitBurst = "5";
|
|
||||||
StartLimitIntervalSec = "30s";
|
|
||||||
};
|
};
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -31,15 +31,12 @@ in
|
|||||||
#################################
|
#################################
|
||||||
systemd.user.services.hypridle = {
|
systemd.user.services.hypridle = {
|
||||||
description = "Hypridle (Hyprland idle daemon)";
|
description = "Hypridle (Hyprland idle daemon)";
|
||||||
after = [ "graphical-session.target" "hyprland-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
requires = [ "graphical-session.target" ];
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.hypridle}/bin/hypridle";
|
ExecStart = "${pkgs.hypridle}/bin/hypridle";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "5s";
|
Environment = "HOME=/home/${username}";
|
||||||
StartLimitBurst = "5";
|
|
||||||
StartLimitIntervalSec = "30s";
|
|
||||||
};
|
};
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user