Merge pull request #50442 from ryantm/mysql
nixos/mysql: fix ensureUsers example formatting
commitf910fd4995dab9c6857036514998d247941af361
authorRyan Mulligan <ryan@ryantm.com>
dateThu 15 Nov 2018, 19:43 (8 years ago)
parent701781623dfa4e
nixos/modules/services/databases/mysql.nix+2−2
@@ -147,7 +147,7 @@ in
147147 option is changed. This means that users created and permissions assigned once through this option or
148148 otherwise have to be removed manually.
149149 '';
150− example = [
150+ example = literalExample ''[
151151 {
152152 name = "nextcloud";
153153 ensurePermissions = {
@@ -160,7 +160,7 @@ in
160160 "*.*" = "SELECT, LOCK TABLES";
161161 };
162162 }
163− ];
163+ ]'';
164164 };
165165
166166 # FIXME: remove this option; it's a really bad idea.