All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m0s
22 lines
494 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
}
|