trying this again
This commit is contained in:
parent
dd1418b55a
commit
ff7a37a433
2 changed files with 36 additions and 0 deletions
17
modules/fedi/akkoma-fe.nix
Normal file
17
modules/fedi/akkoma-fe.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
runCommand,
|
||||
akkoma-frontends,
|
||||
jq,
|
||||
xorg,
|
||||
}:
|
||||
runCommand "akkoma-fe" {
|
||||
styles = builtins.readFile ./styles.json;
|
||||
nativeBuildInputs = [jq xorg.lndir];
|
||||
passAsFile = ["styles"];
|
||||
} ''
|
||||
mkdir $out
|
||||
lndir ${akkoma-frontends.akkoma-fe} $out
|
||||
|
||||
rm $out/static/styles.json
|
||||
cp $config $out/static/styles.json
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue