11 lines
351 B
Nix
11 lines
351 B
Nix
{ config, nixosConfig, ... }: {
|
|
imports = [ ./rclone-mount.nix ];
|
|
rclone-mount = {
|
|
enable = true;
|
|
configPath = nixosConfig.age.secrets."rclone_${config.home.username}".path;
|
|
mounts = {
|
|
"nextcloud" = "/home/${config.home.username}/rclone/nextcloud/";
|
|
"garage" = "/home/${config.home.username}/rclone/garage/";
|
|
};
|
|
};
|
|
}
|