services.swayidle: change target to generic session (#3913)

this makes the default setup support other window-managers, and is the
trend followed by waybar, clipman, copyq, wlsunset.
This commit is contained in:
tristan 2023-10-30 12:55:11 +00:00 committed by GitHub
parent f92a54fef4
commit 8e5416b478
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,8 @@ in {
systemdTarget = mkOption {
type = types.str;
default = "sway-session.target";
default = "graphical-session.target";
example = "sway-session.target";
description = ''
Systemd target to bind to.
'';