Jörg Thalheim
a8e7d96eb2
Merge pull request #118961 from Izorkin/update-redis-sandbox
...
nixos/redis: enable sandbox mode
2021-04-20 21:12:10 +01:00
Jörg Thalheim
0854659567
Merge pull request #119389 from marsam/drop-postgresql_9_5
...
postgresql_9_5: drop
2021-04-16 19:29:21 +01:00
Symphorien Gibol
7a87973b4c
nixos/users: require one of users.users.name.{isSystemUser,isNormalUser}
...
As the only consequence of isSystemUser is that if the uid is null then
it's allocated below 500, if a user has uid = something below 500 then
we don't require isSystemUser to be set.
Motivation: https://github.com/NixOS/nixpkgs/issues/112647
2021-04-14 20:40:00 +02:00
Izorkin
e075aeb8c0
nixos/redis: add option maxclients
2021-04-12 12:37:49 +03:00
Izorkin
061c913c36
nixos/redis: enable sandbox mode
2021-04-12 12:37:49 +03:00
Aaron Andersen
3036212d5a
Merge pull request #118952 from expipiplus1/patch-2
...
services.postgresql: Improve example clarity
2021-04-10 10:19:50 -04:00
Joe Hermaszewski
580d88efa0
services.postgresql: Improve example clarity
...
Although the quotes here aren't necessary, they may be if a user cargo-cults this example with a database name with hyphens (or other "unusual" characters).
2021-04-10 11:12:36 +08:00
Izorkin
9d4aaf2366
nixos/redis: allow access to runtime and state directories to only redis user
2021-04-03 19:07:27 +03:00
Izorkin
86d8b31e00
nixos/redis: add option unixSocketPerm
2021-04-03 19:07:27 +03:00
Guillaume Girol
fe0e0afbc0
Merge pull request #92929 from symphorien/postgresql-check-config-file
...
nixos/postgresql: check config file syntax at build time
2021-04-02 16:27:03 +00:00
Mario Rodas
72ab382fb6
postgresql_9_5: drop
...
PostgreSQL 9.5 has reached EOL on February 11, 2021.
See https://www.postgresql.org/support/versioning/
2021-04-01 04:20:00 +00:00
Aaron Andersen
4b9262786d
nixos/mysql: properly configure mariadb for galera recovery
2021-02-17 15:50:20 -05:00
volth
bc0d605cf1
treewide: fix double quoted strings in meta.description
...
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Milan
4171cd53d6
redis: make masterAuth option optional ( #109417 )
2021-01-15 03:21:27 +01:00
Kevin Cox
5666f34b28
Merge pull request #91813 from Mic92/types1
...
nixos/*: Add types to the database module options
2021-01-14 17:04:54 -05:00
ilian
52a6cc02c5
openldap: fix typo in maintainers
2021-01-13 19:15:18 +01:00
Aaron Andersen
1a828f66dc
nixos/redis: replace extraConfig option with settings option
2021-01-04 20:08:38 -05:00
mohe2015
ecb0291e1a
nixos/mongodb: fix running initialScript without a set root password
...
Co-authored-by: Timo Kaufmann <timokau@zoho.com>
2020-12-19 18:14:29 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux
2020-11-24 12:42:06 -05:00
zowoq
dbbd289982
nixos/*: fix indentation
2020-11-23 08:42:51 +10:00
Kai Wohlfahrt
db5bb4e26b
nixos/openldap: Fix sssd-ldap test
...
Use this as a test of the migration warnings/functionality.
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
fefc26f844
nixos/openldap: use mkRenamedOptionModule
...
This offers less helpful warnings, but makes the implementation
considerably more straightforward.
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
ce1acd97a7
nixos/openldap: fix path + base64 value types
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
b2ebffe186
nixos/openldap: Fix indentation
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
3f892c2174
nixos/openldap: Remove extraConfig options
...
Instead of deprecating, as per PR feedback
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
2050376cae
nixos/openldap: Mention schemas in migration hint
2020-11-21 15:45:16 +00:00
Kai Wohlfahrt
5fafbee87a
nixos/openldap: Add release-notes for OLC config
2020-11-21 15:45:15 +00:00
Kai Wohlfahrt
adda7e62d0
nixos/openldap: Add support for base64 values
2020-11-21 15:39:20 +00:00
Kai Wohlfahrt
d05061c5cd
nixos/openldap: Pick some PR nits
2020-11-21 15:39:20 +00:00
Kai Wohlfahrt
9528faf182
nixos/openldap: Allow declarativeContents for multiple databases
2020-11-21 15:39:19 +00:00
Kai Wohlfahrt
057cb570be
nixos/openldap: Add delcarativeConfig by suffix
...
Adding by index could be an issue if the user wanted the data to be
added to a DB other than the first.
2020-11-21 15:39:19 +00:00
Kai Wohlfahrt
1fde3c3561
nixos/openldap: switch to slapd.d configuration
...
The old slapd.conf is deprecated. Replace with slapd.d, and use this
opportunity to write some structured settings.
Incidentally, this fixes the fact that openldap is reported up before
any checks have completed, by using forking mode.
2020-11-21 15:39:19 +00:00
Niklas Hambüchen
169ab0b89f
redis service: Listen on localhost by default. Fixes #100192 .
...
All other database servers in NixOS also use this safe-by-default setting.
2020-11-08 01:15:33 +01:00
Kevin Cox
8230e62f57
Merge pull request #100495 from DianaOlympos/riak-cs-delete
...
riak-cs: delete
2020-11-03 11:17:42 -05:00
lf-
b37bbca521
nixos/modules: fix systemd start rate-limits
...
These were broken since 2016:
f0367da7d1
since StartLimitIntervalSec got moved into [Unit] from [Service].
StartLimitBurst has also been moved accordingly, so let's fix that one
too.
NixOS systems have been producing logs such as:
/nix/store/wf98r55aszi1bkmln1lvdbp7znsfr70i-unit-caddy.service/caddy.service:31:
Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.
I have also removed some unnecessary duplication in units disabling
rate limiting since setting either interval or burst to zero disables it
(ad16158c10/src/basic/ratelimit.c (L16)
)
2020-10-31 01:35:56 -07:00
Jade
2df221ec8a
nixos/postgresql: fix inaccurate docs for authentication ( #97622 )
...
* nixos/postgresql: fix inaccurate docs for authentication
We actually use peer authentication, then md5 based authentication.
trust is not used.
* Use a link for mkForce docs
Co-authored-by: aszlig <aszlig@redmoonstudios.org>
Co-authored-by: lf- <lf-@users.noreply.github.com>
Co-authored-by: aszlig <aszlig@redmoonstudios.org>
2020-10-31 03:35:19 -04:00
Thomas Depierre
63caecee7d
riak-cs: delete
2020-10-28 19:31:33 +01:00
Symphorien Gibol
1b7ca69ecc
nixos/postgresql: check config file syntax at build time
2020-09-20 13:43:20 +02:00
Robert Hensing
2d2612a020
nixos/cassandra: Add cfg.extraEnvSh
2020-09-16 17:19:39 +02:00
Silvan Mosberger
e0759a4973
Merge pull request #97758 from yorickvP/patch-3
...
nixos/victoriametrics: escape newlines in ExecStart
2020-09-11 23:11:59 +02:00
Will Young
0ef1be0aa1
couchdb: add support for version 3.1.0
2020-09-11 14:03:16 +02:00
Yorick
c1bef53ab5
nixos/victoriametrics: escape newlines in ExecStart
...
Fixes #96206
2020-09-11 12:44:33 +02:00
Aaron Andersen
2a44265608
nixos/postgresql: replace extraConfig option with settings option
2020-08-26 17:06:48 -04:00
Aaron Andersen
b87b6abd17
Merge pull request #95294 from aanderse/postgresql-rootless
...
nixos/postgresql: run ExecStartPost as an unprivileged user
2020-08-20 19:16:23 -04:00
Aaron Andersen
8e045b42fd
nixos/postgresql: move ExecStartPost into postStart
2020-08-15 16:59:53 -04:00
Aaron Andersen
ec82ae3c39
nixos/postgresql: run ExecStartPost as an unprivileged user
2020-08-15 16:59:49 -04:00
Aaron Andersen
f1f4cc6e1b
Merge pull request #95231 from aanderse/mysql-cleanup
...
nixos/mysql: run postStart as an unprivileged user
2020-08-13 21:38:44 -04:00
Aaron Andersen
f08049e712
nixos/mysql: move ExecStartPost into postStart
2020-08-13 17:03:22 -04:00
Aaron Andersen
e3c210dfd1
nixos/mysql: run ExecStartPost as an unprivileged user
2020-08-12 07:21:27 -04:00
Aaron Andersen
31098a03a2
nixos/mysql: cleanup some descriptions
2020-08-12 07:11:00 -04:00