diff options
author | makefu <github@syntax-fehler.de> | 2017-01-09 16:01:46 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-01-09 16:01:46 +0100 |
commit | 254ddab891c4929473dcef45570054f21171c521 (patch) | |
tree | 389fe5ddbc8559def41f0dde388fec6d71b13754 /3modules | |
parent | 980ef46abec3d7402ff5a49ba7ab06dc39a89f0d (diff) |
m: expose torrent-secrets
Diffstat (limited to '3modules')
-rw-r--r-- | 3modules/default.nix | 2 | ||||
-rw-r--r-- | 3modules/torrent.nix | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/3modules/default.nix b/3modules/default.nix index 16215b27a..546fed109 100644 --- a/3modules/default.nix +++ b/3modules/default.nix @@ -8,9 +8,11 @@ _: ./forward-journal.nix ./opentracker.nix ./ps3netsrv.nix + ./logging-config.nix ./server-config.nix ./snapraid.nix ./taskserver.nix + ./torrent.nix ./udpt.nix ./umts.nix ]; diff --git a/3modules/torrent.nix b/3modules/torrent.nix new file mode 100644 index 000000000..9f1cf3398 --- /dev/null +++ b/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"; + }; +} |