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

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"}
'';
};
}