fix: disabled broken panoramax config

This commit is contained in:
Leyla Becker 2025-09-18 14:19:57 -05:00
parent 333c68a8cd
commit 2cdc39f3dc
3 changed files with 29 additions and 18 deletions

View file

@ -11,19 +11,24 @@
};
};
}
(lib.mkIf config.host.postgres.enable {
host = {
postgres = {
extraUsers = {
${config.services.panoramax.database.user} = {
isClient = true;
(
lib.mkIf config.host.postgres.enable {
host = {
postgres = {
extraUsers = {
${config.services.panoramax.database.user} = {
isClient = true;
createUser = true;
};
};
extraDatabases = {
${config.services.panoramax.database.name} = {
name = config.services.panoramax.database.user;
};
};
};
extraDatabases = {
${config.services.panoramax.database.name} = {};
};
};
};
})
}
)
]);
}