diff options
Diffstat (limited to 'module/default.nix')
-rw-r--r-- | module/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/default.nix b/module/default.nix index 774a361..474187f 100644 --- a/module/default.nix +++ b/module/default.nix | |||
@@ -25,6 +25,9 @@ in { | |||
25 | port = mkOption { | 25 | port = mkOption { |
26 | type = str; | 26 | type = str; |
27 | }; | 27 | }; |
28 | userAgent = mkOption { | ||
29 | type = str; | ||
30 | }; | ||
28 | userTokens = mkOption { | 31 | userTokens = mkOption { |
29 | type = attrsOf (submodule { | 32 | type = attrsOf (submodule { |
30 | options = { | 33 | options = { |
@@ -59,6 +62,7 @@ in { | |||
59 | summary_regexes = cfg.ignore.summaryRegexes; | 62 | summary_regexes = cfg.ignore.summaryRegexes; |
60 | }; | 63 | }; |
61 | port = cfg.port; | 64 | port = cfg.port; |
65 | user_agent = cfg.userAgent; | ||
62 | user_tokens = cfg.userTokens; | 66 | user_tokens = cfg.userTokens; |
63 | }); | 67 | }); |
64 | }; | 68 | }; |