Regenerated

This commit is contained in:
henrov committed 2026-04-19 18:58:09 +02:00
1 parent 68ddf4ab69
commit 73c124bbb1
3 files changed
+386 -365

No files matched your search

@@ -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" ];
};
}