mirror of
https://github.com/nix-community/home-manager.git
synced 2025-04-13 15:57:47 +00:00
Rclone is a command-line program to manage files on cloud storage, it also featrues support for FUSE mounts. "Users call rclone *"The Swiss army knife of cloud storage"* and *"Technology indistinguishable from magic"*" - https://rclone.org/ This module manages the configuration of rclone remotes.
18 lines
369 B
Nix
18 lines
369 B
Nix
{ pkgs, ... }: {
|
|
programs.rclone.remotes = {
|
|
alices-cool-remote-v2 = {
|
|
config = {
|
|
type = "b2";
|
|
hard_delete = true;
|
|
};
|
|
secrets = {
|
|
account = "${pkgs.writeText "acc" ''
|
|
super-secret-account-id
|
|
''}";
|
|
key = "${pkgs.writeText "key" ''
|
|
api-key-from-file
|
|
''}";
|
|
};
|
|
};
|
|
};
|
|
}
|