theme works but not as default but urgh
This commit is contained in:
parent
da1bd71d73
commit
f0af00e1c2
4 changed files with 21 additions and 8 deletions
|
@ -2,13 +2,21 @@
|
|||
runCommand,
|
||||
akkoma-frontends,
|
||||
xorg,
|
||||
jq,
|
||||
}:
|
||||
runCommand "akkoma-fe" {
|
||||
nativeBuildInputs = [xorg.lndir];
|
||||
runCommand "akkoma_fe" {
|
||||
nativeBuildInputs = [xorg.lndir jq];
|
||||
} ''
|
||||
mkdir $out
|
||||
lndir ${akkoma-frontends.akkoma-fe} $out
|
||||
|
||||
rm $out/static/styles.json
|
||||
cp ${./styles.json} $out/static/styles.json
|
||||
|
||||
rm $out/static/config.json
|
||||
jq -s add ${akkoma-frontends.akkoma-fe}/static/config.json ${./config.json} > $out/static/config.json
|
||||
|
||||
cp ${../../icons/favicon/favicon.png} $out/static/logo.png
|
||||
|
||||
cp ${./rosepine.json} $out/static/themes/rosepine.json
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue