config the header, seed images of radicle seed server

This commit is contained in:
ulic-youthlic 2025-05-14 03:37:58 +08:00
parent d411035f10
commit c1bf23dae9
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
5 changed files with 13 additions and 3 deletions

View file

@ -13,7 +13,7 @@ in
rime-ice = callPackage ./rime-ice.nix {};
dioxionary = callPackage ./dioxionary.nix {};
spotifyx = callPackage ./spotifyx.nix {};
radicle-explorer = callPackage ./radicle-explorer.nix {};
radicle-explorer = callPackage ./radicle-explorer {};
noto-serif-cjk = callPackage ./noto-serif-cjk.nix {};
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};

View file

@ -1,5 +1,5 @@
{pkgs, ...}:
pkgs.radicle-explorer.withConfig {
(pkgs.radicle-explorer.withConfig {
preferredSeeds = [
{
hostname = "seed.youthlic.fun";
@ -22,4 +22,11 @@ pkgs.radicle-explorer.withConfig {
scheme = "https";
}
];
}
}).overrideAttrs (prev: {
postInstall =
(prev.postInstall or "")
+ ''
ln -s ${./youthlic-seed-header.png} $out/images/youthlic-seed-header.png
ln -s ${./youthlic-seed-avatar.jpg} $out/images/youthlic-seed-avatar.jpg
'';
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB