Replace string concatenation with string interpolation

This commit is contained in:
SebastianStork 2025-09-06 00:25:57 +02:00
parent 0119af4d40
commit fceb6ae418
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
let
cfg = config.custom.sops;
absoluteSecretsPath = "${self}/" + cfg.secretsFile;
absoluteSecretsPath = "${self}/${cfg.secretsFile}";
in
{
imports = [ inputs.sops.homeManagerModules.sops ];

View file

@ -91,7 +91,7 @@ in
virtualHosts
|> lib.mapAttrs' (
_: value:
lib.nameValuePair (lib.optionalString (!value.tls) "http://" + value.domain) (
lib.nameValuePair (lib.optionalString (!value.tls) "http://${value.domain}") (
mkVirtualHostConfig value
)
);

View file

@ -8,7 +8,7 @@
let
cfg = config.custom.sops;
absoluteSecretsPath = "${self}/" + cfg.secretsFile;
absoluteSecretsPath = "${self}/${cfg.secretsFile}";
in
{
imports = [ inputs.sops.nixosModules.sops ];