Merge pull request #31630 from Ma27/fix-postgres-quoting

services.postgres: fix quoting in the description of `superUser`
This commit is contained in:
Graham Christensen 2017-11-13 17:01:05 -05:00 committed by GitHub
commit 9a4b2de497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ in
default= if versionAtLeast config.system.stateVersion "17.09" then "postgres" else "root"; default= if versionAtLeast config.system.stateVersion "17.09" then "postgres" else "root";
internal = true; internal = true;
description = '' description = ''
NixOS traditionally used `root` as superuser, most other distros use `postgres`. NixOS traditionally used 'root' as superuser, most other distros use 'postgres'.
From 17.09 we also try to follow this standard. Internal since changing this value From 17.09 we also try to follow this standard. Internal since changing this value
would lead to breakage while setting up databases. would lead to breakage while setting up databases.
''; '';