diff options
Diffstat (limited to 'modules/postgres.nix')
| -rw-r--r-- | modules/postgres.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/postgres.nix b/modules/postgres.nix new file mode 100644 index 0000000..8853aaa --- /dev/null +++ b/modules/postgres.nix @@ -0,0 +1,13 @@ +{ + lib, + ... +}: +{ + services.postgresql = { + enable = true; + authentication = lib.mkBefore '' + #type database DBuser auth-method + local all postgres peer + ''; + }; +} |
