From b5735ba7564018b4309c3d6cb24e67fe7eacb024 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 10 Jan 2025 19:01:19 +0400 Subject: [PATCH] nvm lmao --- modules/server/fedi/akkoma/default.nix | 71 ++++++++++++-------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/modules/server/fedi/akkoma/default.nix b/modules/server/fedi/akkoma/default.nix index 981bfb2e..5244829e 100644 --- a/modules/server/fedi/akkoma/default.nix +++ b/modules/server/fedi/akkoma/default.nix @@ -25,44 +25,41 @@ in { akkoma = { enable = true; package = pkgs.akkoma; - extraStatic = - let sakomoji = pkgs.callPackage ../../../../packages/sakomoji.nix; - in { - "emoji/blobs.gg" = pkgs.akkoma-emoji.blobs_gg; - "emoji/sakomoji" = sakomoji; - # TODO Change this lmao - "favicon.png" = pkgs.fetchurl { - url = "https://sako.lol/icon.png"; - hash = "sha256-G8qYTlRwQWn+x6b9t0gFBriIxm6LV2n1jI5OcTSg/jc="; - }; - "static/terms-of-service.html" = - pkgs.writeText "terms-of-service.html" '' -

Rules

-
    -
  1. No NSFW at all
  2. -
  3. try not to get this server blacklisted thanks :)
  4. -
- - 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 - # rev = "697a8211b0f427a921e7935a35d14bb3e32d0a2c"; - # in pkgs.stdenvNoCC.mkDerivation { - # name = "favicon.png"; - - # src = pkgs.fetchurl { - # url = "https://raw.githubusercontent.com/TilCreator/NixOwO/${rev}/NixOwO_plain.svg"; - # hash = "sha256-tWhHMfJ3Od58N9H5yOKPMfM56hYWSOnr/TGCBi8bo9E="; - # }; - - # nativeBuildInputs = with pkgs; [ librsvg ]; - - # dontUnpack = true; - # installPhase = '' - # rsvg-convert -o $out -w 96 -h 96 $src - # ''; + extraStatic = { + "emoji/blobs.gg" = pkgs.akkoma-emoji.blobs_gg; + # TODO Change this lmao + "favicon.png" = pkgs.fetchurl { + url = "https://sako.lol/icon.png"; + hash = "sha256-G8qYTlRwQWn+x6b9t0gFBriIxm6LV2n1jI5OcTSg/jc="; }; + "static/terms-of-service.html" = + pkgs.writeText "terms-of-service.html" '' +

Rules

+
    +
  1. No NSFW at all
  2. +
  3. try not to get this server blacklisted thanks :)
  4. +
+ + 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 + # rev = "697a8211b0f427a921e7935a35d14bb3e32d0a2c"; + # in pkgs.stdenvNoCC.mkDerivation { + # name = "favicon.png"; + + # src = pkgs.fetchurl { + # url = "https://raw.githubusercontent.com/TilCreator/NixOwO/${rev}/NixOwO_plain.svg"; + # hash = "sha256-tWhHMfJ3Od58N9H5yOKPMfM56hYWSOnr/TGCBi8bo9E="; + # }; + + # nativeBuildInputs = with pkgs; [ librsvg ]; + + # dontUnpack = true; + # installPhase = '' + # rsvg-convert -o $out -w 96 -h 96 $src + # ''; + }; extraPackages = builtins.attrValues { inherit (pkgs) ffmpeg exiftool imagemagick; }; frontends = {