summaryrefslogtreecommitdiffstats
path: root/makefu/3modules/torrent.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-01-09 16:01:46 +0100
committermakefu <github@syntax-fehler.de>2017-01-09 16:01:46 +0100
commit2f19eccf24e6b936542bbab04a435f3127c65962 (patch)
tree1c9e065d206377a9eb5484aa0c198b0a02f48749 /makefu/3modules/torrent.nix
parent6d8e758ecf7cbcec4e00c7e72fcdc433341612a2 (diff)
m: expose torrent-secrets
Diffstat (limited to 'makefu/3modules/torrent.nix')
-rw-r--r--makefu/3modules/torrent.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/makefu/3modules/torrent.nix b/makefu/3modules/torrent.nix
new file mode 100644
index 000000000..9f1cf3398
--- /dev/null
+++ b/makefu/3modules/torrent.nix
@@ -0,0 +1,13 @@
+{config, lib, pkgs, ... }:
+
+{
+ options.makefu.dl-dir = lib.mkOption {
+ type = lib.types.str;
+ description = "Default download directory";
+ default = "/media/cryptX/torrent";
+ };
+ options.makefu.torrent-secrets = lib.mkOption {
+ type = lib.types.str;
+ default = "/home/makefu/secrets/torrent";
+ };
+}