diff options
author | lassulus <lass@aidsballs.de> | 2016-08-21 13:16:56 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-08-21 13:16:56 +0200 |
commit | d50198d880c4be21413f9bb536b784005204beb9 (patch) | |
tree | 28ea56d3694e7239e532474f677a95f6604c00c5 /makefu/2configs/udpt.nix | |
parent | 3eb5f58a0ee9778006d4e37fee17e0b3e096a52a (diff) | |
parent | d1c4d12cee228cba1da4da7bba82b6cf6cb708ec (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/udpt.nix')
-rw-r--r-- | makefu/2configs/udpt.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/makefu/2configs/udpt.nix b/makefu/2configs/udpt.nix new file mode 100644 index 000000000..6d55ffaf8 --- /dev/null +++ b/makefu/2configs/udpt.nix @@ -0,0 +1,31 @@ +{pkgs, ...}: + +let + cfgfile = pkgs.writeText "udpt-config" '' + [db] + driver=sqlite3 + param=:memory: + + [tracker] + is_dynamic=yes + port=6969 + threads=5 + allow_remotes=yes + allow_iana_ips=no + announce_interval=1800 + cleanup_interval=120 + + [apiserver] + enable=yes + + [logging] + filename=- + level=warning + ''; +in { + makefu.udpt = { + enable = true; + inherit cfgfile; + }; + +} |