nixos/pkgs/radicle-explorer'.nix

39 lines
818 B
Nix
Raw Normal View History

{
radicle-explorer,
rootPath,
}:
(radicle-explorer.withConfig {
2025-05-13 10:14:31 +08:00
preferredSeeds = [
{
hostname = "seed.youthlic.social";
2025-05-13 10:14:31 +08:00
port = 443;
scheme = "https";
}
{
hostname = "ash.radicle.garden";
port = 443;
scheme = "https";
}
{
hostname = "seed.radicle.xyz";
port = 443;
scheme = "https";
}
{
hostname = "seed.radicle.garden";
port = 443;
scheme = "https";
}
];
2025-07-13 06:04:55 +08:00
}).overrideAttrs
(prev: {
postInstall = (prev.postInstall or "") + ''
ln -s ${
rootPath + "/assets/radicle-explorer/youthlic-seed-header.png"
} $out/images/youthlic-seed-header.png
ln -s ${
rootPath + "/assets/radicle-explorer/youthlic-seed-avatar.jpg"
} $out/images/youthlic-seed-avatar.jpg
'';
2025-07-13 06:04:55 +08:00
})