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 = {