summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-01-16 22:10:47 +0100
committerNaïm Favier <n@monade.li>2022-01-16 22:10:47 +0100
commitbbfca6b6b9f6f79994c4fb82bd13629b4ba759cc (patch)
treeeed2ab8a0bb0dd488a8ed6320e56678ce6a3ccff
parentf3d9d4bd898cca7d04af2ae4f6ef01f2219df3d6 (diff)
downloadnixpkgs-bbfca6b6b9f6f79994c4fb82bd13629b4ba759cc.tar
nixpkgs-bbfca6b6b9f6f79994c4fb82bd13629b4ba759cc.tar.gz
nixpkgs-bbfca6b6b9f6f79994c4fb82bd13629b4ba759cc.tar.bz2
nixpkgs-bbfca6b6b9f6f79994c4fb82bd13629b4ba759cc.tar.lz
nixpkgs-bbfca6b6b9f6f79994c4fb82bd13629b4ba759cc.tar.xz
nixpkgs-bbfca6b6b9f6f79994c4fb82bd13629b4ba759cc.tar.zst
nixpkgs-bbfca6b6b9f6f79994c4fb82bd13629b4ba759cc.zip
nixos/prosody-filer: remove usage of literalExample
-rw-r--r--nixos/modules/services/web-apps/prosody-filer.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/nixos/modules/services/web-apps/prosody-filer.nix b/nixos/modules/services/web-apps/prosody-filer.nix
index 6a52c36ab2c..a901a95fd5f 100644
--- a/nixos/modules/services/web-apps/prosody-filer.nix
+++ b/nixos/modules/services/web-apps/prosody-filer.nix
@@ -21,12 +21,10 @@ in {
 
         type = settingsFormat.type;
 
-        example = literalExample ''
-          {
-            secret = "mysecret";
-            storeDir = "/srv/http/nginx/prosody-upload";
-          }
-        '';
+        example = {
+          secret = "mysecret";
+          storeDir = "/srv/http/nginx/prosody-upload";
+        };
 
         defaultText = literalExpression ''
           {