This commit is contained in:
Sakooooo 2025-01-02 20:46:30 +04:00
parent 98e3efd719
commit 3483fc64e9
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -27,35 +27,34 @@ in {
package = pkgs.akkoma; package = pkgs.akkoma;
extraStatic = { extraStatic = {
"emoji/blobs.gg" = pkgs.akkoma-emoji.blobs_gg; "emoji/blobs.gg" = pkgs.akkoma-emoji.blobs_gg;
"static/terms-of-service.html" = pkgs.writeText "terms-of-service.html" '' "static/terms-of-service.html" =
<h1>Rules</h1> pkgs.writeText "terms-of-service.html" ''
<ol> <h1>Rules</h1>
<li>No NSFW <b><i>at all</i></b></li> <ol>
<li>try not to get this server blacklisted thanks :)</li> <li>No NSFW <b><i>at all</i></b></li>
</ol> <li>try not to get this server blacklisted thanks :)</li>
</ol>
Instance is invite only because I don't know how many users this will handle, if you know any contact methods for the admin go ask him for an invite. Instance is invite only because I don't know how many users this will handle, if you know any contact methods for the admin go ask him for an invite.
''; '';
# "favicon.png" = let # "favicon.png" = let
# rev = "697a8211b0f427a921e7935a35d14bb3e32d0a2c"; # rev = "697a8211b0f427a921e7935a35d14bb3e32d0a2c";
# in pkgs.stdenvNoCC.mkDerivation { # in pkgs.stdenvNoCC.mkDerivation {
# name = "favicon.png"; # name = "favicon.png";
# src = pkgs.fetchurl { # src = pkgs.fetchurl {
# url = "https://raw.githubusercontent.com/TilCreator/NixOwO/${rev}/NixOwO_plain.svg"; # url = "https://raw.githubusercontent.com/TilCreator/NixOwO/${rev}/NixOwO_plain.svg";
# hash = "sha256-tWhHMfJ3Od58N9H5yOKPMfM56hYWSOnr/TGCBi8bo9E="; # hash = "sha256-tWhHMfJ3Od58N9H5yOKPMfM56hYWSOnr/TGCBi8bo9E=";
# }; # };
# nativeBuildInputs = with pkgs; [ librsvg ]; # nativeBuildInputs = with pkgs; [ librsvg ];
# dontUnpack = true; # dontUnpack = true;
# installPhase = '' # installPhase = ''
# rsvg-convert -o $out -w 96 -h 96 $src # rsvg-convert -o $out -w 96 -h 96 $src
# ''; # '';
}; };
}
;
extraPackages = extraPackages =
builtins.attrValues { inherit (pkgs) ffmpeg exiftool imagemagick; }; builtins.attrValues { inherit (pkgs) ffmpeg exiftool imagemagick; };
frontends = { frontends = {