From cbf9b17ed8db66356af54c42919de6a7527c8dd1 Mon Sep 17 00:00:00 2001 From: mat ess Date: Sat, 19 Nov 2022 12:26:00 -0500 Subject: [PATCH] Convert root favicon to ico --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 1bd9e37..c5ed993 100644 --- a/flake.nix +++ b/flake.nix @@ -33,7 +33,7 @@ zola build --drafts ${ifStaging "--base-url https://staging--mat-services.netlify.app"} # zola's ignored_content setting doesn't work in static/ rm -rf public/image/_favicon.svg - cp public/image/favicon.svg public/favicon.svg + convert public/image/favicon.svg -resize 64x64 public/favicon.ico ''; in { @@ -41,7 +41,7 @@ pname = "personal-site"; version = "2022-10-23"; src = gitignoreSource ./.; - nativeBuildInputs = [ optimize-images update-date zola ]; + nativeBuildInputs = [ imagemagick optimize-images update-date zola ]; configurePhase = copyFonts + '' mkdir -p extra/syntax cp ${caddyfile-syntax} extra/syntax