fixup! lightsail-tokyo: use homepage-dashboard

This commit is contained in:
Guanran Wang 2024-06-05 18:21:07 +08:00
parent f515e8795e
commit 5a1c3597fd
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 1 additions and 15 deletions

View file

@ -198,20 +198,6 @@
settings = { settings = {
useEqualHeights = true; useEqualHeights = true;
cardBlur = "sm"; cardBlur = "sm";
background = let
# https://www.pixiv.net/en/artworks/49983419
image = pkgs.fetchurl {
url = "https://i.pximg.net/img-original/img/2015/04/23/12/43/35/49983419_p0.jpg";
hash = "sha256-JZ5VmsjVjZfHXpx3JxzAyYzZppZmgH38AiAA+B0TDiw=";
curlOptsList = ["-e" "https://www.pixiv.net/"];
};
# Crop 100px on top and bottom
cropped = pkgs.runCommandNoCC "49983419_p0.jpg" {} ''
${lib.getExe pkgs.imagemagick} convert ${image} -crop 3500x1600+0+100 $out
'';
in "file://${cropped}";
layout."Services" = { layout."Services" = {
style = "row"; style = "row";
columns = "4"; columns = "4";