13 lines
257 B
Nix
13 lines
257 B
Nix
{ config, lib, ... }:
|
|
with lib;
|
|
let
|
|
moduleCfg = config.selfhosted.seafile;
|
|
in
|
|
{
|
|
config = mkIf moduleCfg.enable {
|
|
sops.templates."seafile-redis.env".content = ''
|
|
REDIS_PASSWORD=${config.sops.placeholder."seafile/redis_password"}
|
|
'';
|
|
};
|
|
}
|