Potentially broken commit to sync across machines

This commit is contained in:
Kat Inskip 2024-01-11 14:51:49 -08:00
parent ee0d52cd8c
commit 3e32cad35f
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
15 changed files with 238 additions and 14 deletions

View file

@ -1,11 +1,17 @@
{ config, pkgs, ... }: {
{
config,
pkgs,
...
}: {
services.postgresql = {
enable = true;
package = pkgs.postgresql_14;
ensureDatabases = [ "hass" ];
ensureUsers = [{
name = "hass";
ensureDBOwnership = true;
}];
ensureDatabases = ["hass"];
ensureUsers = [
{
name = "hass";
ensureDBOwnership = true;
}
];
};
}