-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nextcloud-client: start upon switch #697
Comments
Hmm, I don't see anything obviously wrong with the current definition of the systemd unit. What does |
hum also noticed it doesn't work with the system proxy. The process doesn't have http_proxy in its environment even though I set it via the nixos networking.proxy option. NB: I checked if upstream provided a service but not yet. For future reference: |
@rycee any reason we should not inherit nixos sessionVariables in systemd's user services ? or I should just add nixos.config.networking.proxy.envVars to the sessionVariables when nixos is detected ? |
I think I might have a solution for one of your problems, namely adding the following (in home-manager.users.your-user): systemd.user.services.nextcloud-client = {
Service.ExecStartPre = lib.mkForce "${pkgs.coreutils}/bin/sleep 15";
Unit = {
After = lib.mkForce [ "graphical-session.target" ];
PartOf = lib.mkForce [ ];
};
}; In detail, for me (using gnome) was that apparently nextcloud started to early such that libindicator was not setup and running already. |
Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting. If you are the original author of the issue
If you are not the original author of the issue
Memorandum on closing issuesIf you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort. |
1 similar comment
Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting. If you are the original author of the issue
If you are not the original author of the issue
Memorandum on closing issuesIf you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort. |
so I just added
services.nextcloud-client.enable = true;
to my config. Was expecting to see nextcloud-client popup into my tray but it didn't (using i3). What's the systemd parameter I should change to make it working ? I can submit a PR.The text was updated successfully, but these errors were encountered: