export rclone-webdav module
This commit is contained in:
parent
964aef3e19
commit
e1ba549dd2
2 changed files with 9 additions and 3 deletions
10
flake.nix
10
flake.nix
|
|
@ -123,7 +123,10 @@
|
||||||
alexandria = mkHost {
|
alexandria = mkHost {
|
||||||
hostname = "alexandria";
|
hostname = "alexandria";
|
||||||
type = "server";
|
type = "server";
|
||||||
extraModules = [ self.nixosModules.qbittorrent ];
|
extraModules = [
|
||||||
|
self.nixosModules.qbittorrent
|
||||||
|
self.nixosModules.rclone-webdav
|
||||||
|
];
|
||||||
};
|
};
|
||||||
trantor = mkHost {
|
trantor = mkHost {
|
||||||
hostname = "trantor";
|
hostname = "trantor";
|
||||||
|
|
@ -196,6 +199,9 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModules.qbittorrent = import ./modules/qbittorrent.nix;
|
nixosModules = {
|
||||||
|
qbittorrent = import ./modules/qbittorrent.nix;
|
||||||
|
rclone-webdav = import ./modules/rclone-webdav.nix;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ in
|
||||||
|
|
||||||
rclone-webdav = {
|
rclone-webdav = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authFile = config.age.secrets.wevdav.path;
|
authFile = config.age.secrets.webdav.path;
|
||||||
dataDirectory = "/data/webdav";
|
dataDirectory = "/data/webdav";
|
||||||
maxFileSize = "5G";
|
maxFileSize = "5G";
|
||||||
listenAddresses = [ "0.0.0.0" ];
|
listenAddresses = [ "0.0.0.0" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue