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
|
|
@ -37,6 +37,9 @@ in {
|
||||||
"z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7@seed.radicle.garden:8776"
|
"z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7@seed.radicle.garden:8776"
|
||||||
];
|
];
|
||||||
web = {
|
web = {
|
||||||
|
bannerUrl = "https://radicle.${config.youthlic.programs.caddy.baseDomain}/images/youthlic-seed-header.png";
|
||||||
|
avatarUrl = "https://radicle.${config.youthlic.programs.caddy.baseDomain}/images/youthlic-seed-avatar.jpg";
|
||||||
|
description = "Private Seed Server.";
|
||||||
pinned = {
|
pinned = {
|
||||||
repositories = [
|
repositories = [
|
||||||
"rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
"rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ in
|
||||||
rime-ice = callPackage ./rime-ice.nix {};
|
rime-ice = callPackage ./rime-ice.nix {};
|
||||||
dioxionary = callPackage ./dioxionary.nix {};
|
dioxionary = callPackage ./dioxionary.nix {};
|
||||||
spotifyx = callPackage ./spotifyx.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-serif-cjk = callPackage ./noto-serif-cjk.nix {};
|
||||||
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};
|
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}:
|
{pkgs, ...}:
|
||||||
pkgs.radicle-explorer.withConfig {
|
(pkgs.radicle-explorer.withConfig {
|
||||||
preferredSeeds = [
|
preferredSeeds = [
|
||||||
{
|
{
|
||||||
hostname = "seed.youthlic.fun";
|
hostname = "seed.youthlic.fun";
|
||||||
|
|
@ -22,4 +22,11 @@ pkgs.radicle-explorer.withConfig {
|
||||||
scheme = "https";
|
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
|
||||||
|
'';
|
||||||
|
})
|
||||||
BIN
pkgs/radicle-explorer/youthlic-seed-avatar.jpg
Normal file
BIN
pkgs/radicle-explorer/youthlic-seed-avatar.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 212 KiB |
BIN
pkgs/radicle-explorer/youthlic-seed-header.png
Normal file
BIN
pkgs/radicle-explorer/youthlic-seed-header.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 MiB |
Loading…
Add table
Add a link
Reference in a new issue