From 494935849b7555de3db274053c9d7f6cac726ae3 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 4 Dec 2022 02:31:03 +0000 Subject: [PATCH] porcorosso: make sure the lukegb database exists --- ops/nixos/porcorosso/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index 327164f468..8d60be318c 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -314,6 +314,7 @@ in { services.redis.servers."".enable = true; services.postgresql.enable = true; + services.postgresql.ensureDatabases = [ "lukegb" ]; services.postgresql.ensureUsers = [{ name = "lukegb"; ensurePermissions = {