Personal Nix setup

Update to dynamic systemd graphical-session.target

Changed files
+5 -7
home
desktop
+5 -7
home/desktop/hyprland.nix
···
RestartSec = 5;
};
Unit = {
-
After = [ "graphical-session.target" ];
-
PartOf = [ "graphical-session.target" ];
+
After = [ config.wayland.systemd.target ];
+
PartOf = [ config.wayland.systemd.target ];
};
};
···
Service = {
ExecStart = "${system-shell}";
Restart = "on-failure";
-
RestartSec = 5;
+
RestartSec = 10;
Environment = [ "GSK_RENDERER=ngl" ];
};
Unit = {
-
After = [
-
"graphical-session.target"
-
];
+
After = [ config.wayland.systemd.target ];
ConditionEnvironment = "WAYLAND_DISPLAY";
-
PartOf = [ "graphical-session.target" ];
+
PartOf = [ config.wayland.systemd.target ];
};
};
};