Rclone: Difference between revisions

Add home-manager related information.
Revert broken systemd service. I'll figure it out later.
Line 38: Line 38:
</syntaxhighlight>
</syntaxhighlight>


You may also wish to create a systemd service for local filesystem mounts. Here is an example below. 
Particular concern should be made when uploading such configurations online as your passwords will be plainly visible. It is recommended to instead put  the passwords in a local file if such is needed.  
<syntaxhighlight lang="nix">
 
  systemd.user.services.rclone-mounts = {
  [[Category:Applications]]
    Unit.Description = "Mount my rclone mounts.";
    Install.WantedBy = [ "multi-user.target" ]; # starts after login
    Service.ExecStart = ''
    rclone mount fichier:"Path to mount" "Local path to mount"
  '';
</syntaxhighlight>Particular concern should be made when uploading such configurations online as your passwords will be plainly visible. It is recommended to instead put  the passwords in a local file if such is needed.  
[[Category:Applications]]
[[Category:Backup]]
[[Category:Backup]]