573 current 1970-01-01 01:00:00 24.11.20250221.11415c7 6.6.79 *

This commit is contained in:
Max Känner 2025-02-28 16:16:11 +01:00
parent 0fc344416c
commit 13ffb87959

View File

@ -52,7 +52,7 @@ in {
'';
};
home.packages = [pkgs.rclone];
home.packages = with pkgs; [rclone fuse3];
systemd.user.services = {
luhbots-mount = {
@ -64,7 +64,8 @@ in {
Type = "notify";
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p \"%h/luhbots Nextcloud\"";
ExecStart = "${pkgs.rclone}/bin/rclone --config=${config.sops.templates."rclone.conf".path} --vfs-cache-mode full mount \"luhbots:\" \"%h/luhbots Nextcloud\"";
ExecStop = "${pkgs.fuse}/bin/fusermount -u \"%h/luhbots Nextcloud\"";
ExecStop = "/bin/fusermount -u \"%h/luhbots Nextcloud\"";
Environment = ["PATH=/run/wrappers/bin/:$PATH"];
};
Install.WantedBy = ["default.target"];
};