1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/tests/web-apps
Maximilian Bosch 5142b7afa8
nixos/postgresql: turn settings into a submodule
The main idea behind that was to be able to do more sophisticated
merging for stuff that goes into `postgresql.conf`:
`shared_preload_libraries` is a comma-separated list in a `types.str`
and thus not mergeable. With this change, the option accepts both a
comma-separated string xor a list of strings.

This can be implemented rather quick using `coercedTo` +
freeform modules. The interface still behaves equally, but it allows to
merge declarations for this option together.

One side-effect was that I had to change the `attrsOf (oneOf ...)` part into
a submodule to allow declaring options for certain things. While at it,
I decided to move `log_line_prefix` and `port` into this structure as
well.
2024-03-30 14:23:05 +01:00
..
mastodon nixos/postgresql: turn settings into a submodule 2024-03-30 14:23:05 +01:00
pixelfed
gotosocial.nix
healthchecks.nix
monica.nix
netbox-upgrade.nix
netbox.nix
nifi.nix
peering-manager.nix
peertube.nix
phylactery.nix
pretalx.nix
pretix.nix
snipe-it.nix
writefreely.nix