Cleaner rclone config

This commit is contained in:
Filippo Berto 2025-09-16 11:13:35 +02:00
parent a58661e9c6
commit b4b9ef3211
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
8 changed files with 43 additions and 39 deletions

View file

@ -2,7 +2,10 @@
imports = [ ./rclone-mount.nix ];
rclone-mount = {
enable = true;
configPath = nixosConfig.age.secrets."minio_${config.home.username}".path;
mounts = { "minio" = "/home/${config.home.username}/rclone/minio/"; };
configPath = nixosConfig.age.secrets."rclone_${config.home.username}".path;
mounts = {
"minio" = "/home/${config.home.username}/rclone/minio/";
"nextcloud" = "/home/${config.home.username}/rclone/nextcloud/";
};
};
}

View file

@ -2,7 +2,7 @@
imports = [ ./rclone-mount.nix ];
rclone-mount = {
enable = true;
configPath = nixosConfig.age.secrets."minio_${config.home.username}".path;
configPath = nixosConfig.age.secrets."rclone_${config.home.username}".path;
mounts = { "minio" = "/home/${config.home.username}/minio/"; };
};
}