Files
nixos/hosts/common/optional/selfhosted/seafile/mariadb/config.nix
T
aloslider c92b90e406 Small modules config restructure
Changed variables names in every module
2026-10-31 19:48:50 +03:00

15 lines
317 B
Nix

{ config, lib, ... }:
with lib;
let
moduleCfg = config.selfhosted.seafile;
in
{
config = mkIf moduleCfg.enable {
sops.templates."seafile-db.env".content = ''
MYSQL_ROOT_PASSWORD=${config.sops.placeholder."seafile/mysql_password"}
MYSQL_LOG_CONSOLE=true
MARIADB_AUTO_UPGRADE=1
'';
};
}