break: wallabag is borked

This commit is contained in:
Anish Lakhwara
2024-01-11 21:56:55 -08:00
parent 6fb6d4ca75
commit 861364d30f
4 changed files with 129 additions and 51 deletions
+9 -13
View File
@@ -7,16 +7,19 @@
# age.secrets.wallabag-secret.owner = "wallabag";
services.postgresql = {
enable = true;
package = pkgs.postgresql_11;
package = pkgs.postgresql_15;
# Ensure the database, user, and permissions always exist
ensureDatabases = [ "wallabag" ];
ensureUsers = [
{
name = "wallabag";
ensureDBOwnership = true;
# ensureDBOwnership = true;
}
];
authentication = ''
local wallabag all md5
'';
};
services.wallabag = {
@@ -39,28 +42,21 @@
# with PostgreSQL and SQLite, you must set "utf8"
database_charset: utf8
domain_name: http://read.mossnet.lan
domain_name: http://read.mossnet.lan/
server_name: "mossnet wallabag instance"
mailer_transport: smtp
mailer_user: ~
mailer_password: ~
mailer_host: 127.0.0.1
mailer_port: false
mailer_encryption: ~
mailer_auth_mode: ~
mailer_dsn: null://
locale: en
# A secret key that's used to generate certain security-related tokens
secret: SAFGOECRIlfal89oe6u0(*^dsaaih961
# two factor stuff
twofactor_auth: true
twofactor_auth: false
twofactor_sender: no-reply@wallabag.org
# fosuser stuff
fosuser_registration: true
fosuser_registration: false
fosuser_confirmation: true
# how long the access token should live in seconds for the API