573 current 1970-01-01 01:00:00 24.11.20250221.11415c7 6.6.79 *
This commit is contained in:
parent
0fc344416c
commit
13ffb87959
@ -52,7 +52,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = [pkgs.rclone];
|
home.packages = with pkgs; [rclone fuse3];
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
luhbots-mount = {
|
luhbots-mount = {
|
||||||
@ -64,7 +64,8 @@ in {
|
|||||||
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 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"];
|
Install.WantedBy = ["default.target"];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user