From eebd2afc830536df3d317454e2cc6a59cbb05560 Mon Sep 17 00:00:00 2001 From: Adam0 Date: Fri, 14 Aug 2026 10:56:49 -0400 Subject: [PATCH] Start Overzicht after the graphical session Order the user service after its configured graphical-session target so the compositor environment is available before startup. --- nix/modules/home-module.nix | 2 +- nix/modules/nixos-module.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/modules/home-module.nix b/nix/modules/home-module.nix index 5880a60..93bd1e4 100644 --- a/nix/modules/home-module.nix +++ b/nix/modules/home-module.nix @@ -70,7 +70,7 @@ in { systemd.user.services.overzicht = mkIf cfg.systemd.enable { Unit = { Description = "overzicht"; - After = ["graphical-session-pre.target"]; + After = ["graphical-session.target"]; PartOf = ["graphical-session.target"]; }; diff --git a/nix/modules/nixos-module.nix b/nix/modules/nixos-module.nix index 21a56c4..1b5523a 100644 --- a/nix/modules/nixos-module.nix +++ b/nix/modules/nixos-module.nix @@ -47,7 +47,7 @@ in { systemd.user.services.overzicht = { description = "overzicht"; wantedBy = [cfg.target]; - after = ["graphical-session-pre.target"]; + after = [cfg.target]; partOf = [cfg.target]; serviceConfig = { -- 2.51.2