mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Replace string concatenation with string interpolation
This commit is contained in:
parent
0119af4d40
commit
fceb6ae418
3 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
let
|
||||
cfg = config.custom.sops;
|
||||
|
||||
absoluteSecretsPath = "${self}/" + cfg.secretsFile;
|
||||
absoluteSecretsPath = "${self}/${cfg.secretsFile}";
|
||||
in
|
||||
{
|
||||
imports = [ inputs.sops.homeManagerModules.sops ];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
let
|
||||
cfg = config.custom.sops;
|
||||
|
||||
absoluteSecretsPath = "${self}/" + cfg.secretsFile;
|
||||
absoluteSecretsPath = "${self}/${cfg.secretsFile}";
|
||||
in
|
||||
{
|
||||
imports = [ inputs.sops.nixosModules.sops ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue