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