config the header, seed images of radicle seed server
This commit is contained in:
parent
d411035f10
commit
c1bf23dae9
5 changed files with 13 additions and 3 deletions
32
pkgs/radicle-explorer/default.nix
Normal file
32
pkgs/radicle-explorer/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{pkgs, ...}:
|
||||
(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 ${./youthlic-seed-header.png} $out/images/youthlic-seed-header.png
|
||||
ln -s ${./youthlic-seed-avatar.jpg} $out/images/youthlic-seed-avatar.jpg
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue