hosts/dandelion: add postgres, and lock to v13
This commit is contained in:
parent
30ba40e2ac
commit
211a9417f8
2 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
dir = "/persist/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
uid = toString config.ids.uids.postgres;
|
||||
|
|
@ -8,6 +8,7 @@ in {
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
dataDir = dir;
|
||||
package = pkgs.postgresql_13;
|
||||
authentication = lib.mkOverride 10 ''
|
||||
#type database DBuser origin-address auth-method
|
||||
local all all trust
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue