35 lines
778 B
Nix
35 lines
778 B
Nix
{
|
|
pkgs,
|
|
rootPath,
|
|
}:
|
|
(pkgs.radicle-explorer.withConfig {
|
|
preferredSeeds = [
|
|
{
|
|
hostname = "seed.youthlic.fun";
|
|
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";
|
|
}
|
|
];
|
|
}).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
|
|
'';
|
|
})
|