591 current 1970-01-01 01:00:00 24.11.20250318.da04445 6.6.83 *
This commit is contained in:
parent
17e2821237
commit
271d4097c8
@ -64,7 +64,7 @@ in {
|
|||||||
Service = {
|
Service = {
|
||||||
Type = "notify";
|
Type = "notify";
|
||||||
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p \"%h/luhbots Nextcloud\"";
|
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\"";
|
ExecStart = "${pkgs.rclone}/bin/rclone --config=${config.sops.templates."rclone.conf".path} --vfs-cache-mode full --vfs-cache-max-age 1w mount \"luhbots:\" \"%h/luhbots Nextcloud\"";
|
||||||
ExecStop = "/bin/fusermount -u \"%h/luhbots Nextcloud\"";
|
ExecStop = "/bin/fusermount -u \"%h/luhbots Nextcloud\"";
|
||||||
Environment = ["PATH=/run/wrappers/bin/:$PATH"];
|
Environment = ["PATH=/run/wrappers/bin/:$PATH"];
|
||||||
};
|
};
|
||||||
@ -78,7 +78,7 @@ in {
|
|||||||
Service = {
|
Service = {
|
||||||
Type = "notify";
|
Type = "notify";
|
||||||
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p \"%h/Music\"";
|
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p \"%h/Music\"";
|
||||||
ExecStart = "${pkgs.rclone}/bin/rclone --config=${config.sops.templates."rclone.conf".path} --vfs-cache-mode full mount \"cloud:Music\" \"%h/Music\"";
|
ExecStart = "${pkgs.rclone}/bin/rclone --config=${config.sops.templates."rclone.conf".path} --vfs-cache-mode full --vfs-cache-max-age 1w mount \"cloud:Music\" \"%h/Music\"";
|
||||||
ExecStop = "/bin/fusermount -u \"%h/Music\"";
|
ExecStop = "/bin/fusermount -u \"%h/Music\"";
|
||||||
Environment = ["PATH=/run/wrappers/bin/:$PATH"];
|
Environment = ["PATH=/run/wrappers/bin/:$PATH"];
|
||||||
};
|
};
|
||||||
@ -92,7 +92,7 @@ in {
|
|||||||
Service = {
|
Service = {
|
||||||
Type = "notify";
|
Type = "notify";
|
||||||
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p \"%h/Videos\"";
|
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p \"%h/Videos\"";
|
||||||
ExecStart = "${pkgs.rclone}/bin/rclone --config=${config.sops.templates."rclone.conf".path} --vfs-cache-mode full mount \"cloud:Videos\" \"%h/Videos\"";
|
ExecStart = "${pkgs.rclone}/bin/rclone --config=${config.sops.templates."rclone.conf".path} --vfs-cache-mode full --vfs-cache-max-age 1w mount \"cloud:Videos\" \"%h/Videos\"";
|
||||||
ExecStop = "/bin/fusermount -u \"%h/Videos\"";
|
ExecStop = "/bin/fusermount -u \"%h/Videos\"";
|
||||||
Environment = ["PATH=/run/wrappers/bin/:$PATH"];
|
Environment = ["PATH=/run/wrappers/bin/:$PATH"];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user