stockholm/makefu/2configs/udpt.nix

32 lines
424 B
Nix
Raw Normal View History

2016-08-21 10:07:05 +00:00
{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;
};
}