Commit 973c156ffc7c
Changed files (1)
modules
harmonia
modules/harmonia/default.nix
@@ -180,7 +180,7 @@ in
${pkgs.curl}/bin/curl -X POST \
${
optionalString (cfg.builder.notification.tokenFile != null)
- ''-H "Authorization: Bearer $(${pkgs.coreutils}/bin/tr -d '\n' < ${cfg.builder.notification.tokenFile})" \''
+ ''-H "Authorization: Bearer $(${pkgs.coreutils}/bin/tr -d '\n' < ${cfg.builder.notification.tokenFile})"''
} \
-H "Title: Cache Builder Starting (${config.networking.hostName})" \
-d "Building ${toString (length cfg.builder.systems)} system(s) for cache pre-population" \
@@ -191,7 +191,7 @@ in
${pkgs.curl}/bin/curl -X POST \
${
optionalString (cfg.builder.notification.tokenFile != null)
- ''-H "Authorization: Bearer $(${pkgs.coreutils}/bin/tr -d '\n' < ${cfg.builder.notification.tokenFile})" \''
+ ''-H "Authorization: Bearer $(${pkgs.coreutils}/bin/tr -d '\n' < ${cfg.builder.notification.tokenFile})"''
} \
-H "Title: Cache Builder Complete (${config.networking.hostName})" \
-H "Tags: white_check_mark" \
@@ -203,7 +203,7 @@ in
${pkgs.curl}/bin/curl -X POST \
${
optionalString (cfg.builder.notification.tokenFile != null)
- ''-H "Authorization: Bearer $(${pkgs.coreutils}/bin/tr -d '\n' < ${cfg.builder.notification.tokenFile})" \''
+ ''-H "Authorization: Bearer $(${pkgs.coreutils}/bin/tr -d '\n' < ${cfg.builder.notification.tokenFile})"''
} \
-H "Title: Cache Builder Failed (${config.networking.hostName})" \
-H "Tags: x,warning" \