config

NixOS config
Log | Files | Refs | README | LICENSE

commit 56d3b7a5dddf73a6d4dae4ffe7e9575e6d52f12f (tree)
parent 7d89488ea8de53b9cf59aa96e4e22332a60fb43d
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Tue, 10 Feb 2026 08:39:11 +0000

syntax

Diffstat:
Mhosts/fwminex/configuration.nix | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix @@ -382,9 +382,12 @@ in mkdir -p $out cp ${../../jakstys.lt/index.html} $out/index.html cp ${../../jakstys.lt/robots.txt} $out/robots.txt - zstd -k -19 $out/{index.html,robots.txt} - brotli -k $out/{index.html,robots.txt} - zopfli -k $out/{index.html,robots.txt} + OUTS=($out/index.html $out/robots.txt) + for outfile in "''${OUTS[@]}"; do + zstd -k -19 "$outfile" + brotli -k "$outfile" + zopfli -k "$outfile" + done ''; in ''