diff options
Diffstat (limited to 'modules/private/environment.nix')
-rw-r--r-- | modules/private/environment.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/private/environment.nix b/modules/private/environment.nix index 3a805c6..b8c4dd2 100644 --- a/modules/private/environment.nix +++ b/modules/private/environment.nix | |||
@@ -1077,6 +1077,16 @@ in | |||
1077 | type = attrsOf str; | 1077 | type = attrsOf str; |
1078 | description = "Mapping 'name'.php => script for webhooks"; | 1078 | description = "Mapping 'name'.php => script for webhooks"; |
1079 | }; | 1079 | }; |
1080 | csp_reports = mkOption { | ||
1081 | description = "CSP report configuration"; | ||
1082 | type = submodule { | ||
1083 | options = { | ||
1084 | report_uri = mkOption { type = str; description = "URI to report CSP violations to"; }; | ||
1085 | policies = mkOption { type = attrsOf str; description = "CSP policies to apply"; }; | ||
1086 | postgresql = mkPsqlOptions "CSP reports"; | ||
1087 | }; | ||
1088 | }; | ||
1089 | }; | ||
1080 | commento = mkOption { | 1090 | commento = mkOption { |
1081 | description = "Commento configuration"; | 1091 | description = "Commento configuration"; |
1082 | type = submodule { | 1092 | type = submodule { |