diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2017-11-13 22:22:35 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2017-11-13 22:22:35 +0100 |
commit | 82062f7080a8290d581236cbb5492c1b3872eb05 (patch) | |
tree | dec9c5a0b0999097b7a36328eedc626dcc48a47c /nixos/modules/services/databases | |
parent | a1911a04b0289a29aa07f743eaa74ea4df17486d (diff) | |
download | nixlib-82062f7080a8290d581236cbb5492c1b3872eb05.tar nixlib-82062f7080a8290d581236cbb5492c1b3872eb05.tar.gz nixlib-82062f7080a8290d581236cbb5492c1b3872eb05.tar.bz2 nixlib-82062f7080a8290d581236cbb5492c1b3872eb05.tar.lz nixlib-82062f7080a8290d581236cbb5492c1b3872eb05.tar.xz nixlib-82062f7080a8290d581236cbb5492c1b3872eb05.tar.zst nixlib-82062f7080a8290d581236cbb5492c1b3872eb05.zip |
services.postgres: fix quoting in the description of `superUser`
`nixos-option` evals the description and the '`' is used to define shell commands. Due to this, the following error appears: ``` $ nixos-option services.postgresql.superUser Value: "root" Default: "root" Description: /run/current-system/sw/bin/nixos-option: line 294: root: command not found /run/current-system/sw/bin/nixos-option: line 294: postgres: command not found NixOS traditionally used as superuser, most other distros use . From 17.09 we also try to follow this standard. Internal since changing this value would lead to breakage while setting up databases. ```
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r-- | nixos/modules/services/databases/postgresql.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index a23a0ebc7366..9b5e3735239f 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -153,7 +153,7 @@ in default= if versionAtLeast config.system.stateVersion "17.09" then "postgres" else "root"; internal = true; 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 would lead to breakage while setting up databases. ''; |