diff --git a/modules/workstation/nextcloud-client.nix b/modules/workstation/nextcloud-client.nix index 1138910..4dd8f95 100644 --- a/modules/workstation/nextcloud-client.nix +++ b/modules/workstation/nextcloud-client.nix @@ -2,4 +2,12 @@ _: { hm.services.nextcloud-client.enable = true; environment.persistence."/state".users.rg.directories = [ ".config/Nextcloud" ]; + + + # https://discourse.nixos.org/t/nextcloud-client-does-not-auto-start-in-gnome3/46492/7 + systemd.user.services.nextcloud-client = { + Unit = { + After = pkgs.lib.mkForce "graphical-session.target"; + }; + }; }