Add treefmt-nix for formatting all the files
This commit is contained in:
parent
1a9a4243fe
commit
ceecc82aae
11 changed files with 151 additions and 52 deletions
35
pkgs/radicle-explorer.nix
Normal file
35
pkgs/radicle-explorer.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
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
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue