treewide: reformat with nixfmt 1.0.0

This commit is contained in:
Martin Weinelt 2025-08-02 02:19:15 +02:00
parent cea6f25a40
commit b76a547bec
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
6 changed files with 58 additions and 56 deletions

View file

@ -75,18 +75,17 @@ in
'';
};
"redis.conf" = {
text =
''
servers = "${
if cfg.redis.port == null then
cfg.redis.address
else
"${cfg.redis.address}:${toString cfg.redis.port}"
}";
''
+ (lib.optionalString (cfg.redis.password != null) ''
password = "${cfg.redis.password}";
'');
text = ''
servers = "${
if cfg.redis.port == null then
cfg.redis.address
else
"${cfg.redis.address}:${toString cfg.redis.port}"
}";
''
+ (lib.optionalString (cfg.redis.password != null) ''
password = "${cfg.redis.password}";
'');
};
"classifier-bayes.conf" = {
text = ''