Files
nix-config/homeConfigs/global/rclone.nix
tomoron 9a95e511e4
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m0s
WIP: refactor homeeConfigs
2025-09-24 14:13:12 +02:00

22 lines
494 B
Nix

{ config, homeDir, ... }:
{
programs.rclone.enable = true;
sops.secrets."nextcloud_fuse/password" = {};
programs.rclone.remotes.nextcloud = {
config = {
type = "webdav";
url = "https://nc.tmoron.fr/remote.php/dav/files/tom";
vendor = "nextcloud";
user = "tom";
};
secrets.pass = config.sops.secrets."nextcloud_fuse/password".path;
mounts = {
"/" = {
enable = true;
mountPoint = "${homeDir}/nextcloud";
options.vfs-cache-mode = "writes";
};
};
};
}