Compare commits

..

2 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit 141614e4a9 WIP: idp theme
Eval nix flake / evals (push) Failing after 1m50s Details
2024-03-31 04:47:57 +02:00
Oystein Kristoffer Tveit fca888d0f0 bekkalokk: init mediawiki
Co-authored-by: Jørn Åne <yorinad@pvv.ntnu.no>
2024-03-31 04:47:57 +02:00
1 changed files with 1 additions and 14 deletions

View File

@ -237,21 +237,8 @@ in {
"/images/".alias = "${config.services.mediawiki.uploadsDir}/";
"= /PNG/PVV-logo.svg".alias = ../../../../assets/logo_blue_regular.svg;
"= /PNG/PVV-logo.png".alias = ../../../../assets/logo_blue_regular.png;
"= /favicon.ico".alias = pkgs.runCommandLocal "mediawiki-favicon.ico" {
buildInputs = with pkgs; [ imagemagick ];
} ''
convert \
-resize x64 \
-gravity center \
-crop 64x64+0+0 \
${../../../../assets/logo_blue_regular.png} \
-flatten \
-colors 256 \
-background transparent \
$out
'';
"= /PNG/PVV-logo.svg".alias = ../../../../assets/logo_blue_regular.svg;
};
};
}