Regenerated

This commit is contained in:
2026-04-19 18:58:09 +02:00
parent 68ddf4ab69
commit 73c124bbb1
3 changed files with 386 additions and 365 deletions
+366 -359
View File
File diff suppressed because it is too large Load Diff
+10 -3
View File
@@ -1653,13 +1653,20 @@ in
#################################
systemd.user.services.hypridle = {
description = "Hypridle (Hyprland idle daemon)";
after = [ "graphical-session.target" ];
after = [ "graphical-session.target" "hyprland-session.target" ];
partOf = [ "graphical-session.target" ];
serviceConfig = {
ExecStartPre = "${pkgs.bash}/bin/bash -c 'until [ -S /run/user/1000/wayland-1 ]; do sleep 0.5; done'";
ExecStart = "${pkgs.hypridle}/bin/hypridle";
Restart = "on-failure";
Environment = "HOME=/home/${username}";
RestartSec = "3s";
Environment = [
"HOME=/home/${username}"
"WAYLAND_DISPLAY=wayland-1"
"XDG_RUNTIME_DIR=/run/user/1000"
];
};
wantedBy = [ "default.target" ];
wantedBy = [ "graphical-session.target" ];
};
}
#+END_SRC
@@ -31,12 +31,19 @@ in
#################################
systemd.user.services.hypridle = {
description = "Hypridle (Hyprland idle daemon)";
after = [ "graphical-session.target" ];
after = [ "graphical-session.target" "hyprland-session.target" ];
partOf = [ "graphical-session.target" ];
serviceConfig = {
ExecStartPre = "${pkgs.bash}/bin/bash -c 'until [ -S /run/user/1000/wayland-1 ]; do sleep 0.5; done'";
ExecStart = "${pkgs.hypridle}/bin/hypridle";
Restart = "on-failure";
Environment = "HOME=/home/${username}";
RestartSec = "3s";
Environment = [
"HOME=/home/${username}"
"WAYLAND_DISPLAY=wayland-1"
"XDG_RUNTIME_DIR=/run/user/1000"
];
};
wantedBy = [ "default.target" ];
wantedBy = [ "graphical-session.target" ];
};
}