OneDrive: Difference between revisions
imported>Mipmip Add additional information to prevent confussion how this service works. |
m reduced categories to Category:Applications |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
onedrive | onedrive | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 22: | Line 22: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
systemctl --user enable onedrive@onedrive | systemctl --user enable onedrive@onedrive.service | ||
systemctl --user start onedrive@onedrive | systemctl --user start onedrive@onedrive.service | ||
</syntaxhighlight> | </syntaxhighlight> | ||
this will enable and start the systemd user service. | this will enable and start the systemd user service. Note: this makes a symlink that is unmanaged by NixOS. When the onedrive service is updated, be sure to disable and enable the Systemd service again. | ||
Check that the service started successfully and is running: | Check that the service started successfully and is running: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
systemctl --user status onedrive@onedrive | systemctl --user status onedrive@onedrive.service | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 47: | Line 47: | ||
* [https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/sync/onedrive/default.nix nixpkgs OneDrive client package definition] | * [https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/sync/onedrive/default.nix nixpkgs OneDrive client package definition] | ||
[[Category: | [[Category:Applications]] | ||