move akkoma-static into differente repo

This commit is contained in:
Daniel Kauss Serna 2026-07-03 17:39:15 +02:00
parent 63444f2728
commit d3adacad2d
14 changed files with 62 additions and 109 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
let
frontendConfig = {
alwaysShowSubjectInput = true;
@ -30,18 +30,6 @@ let
};
in
{
# probably move them out? atm they stay since they only serve kemonomimi
services.cloudflared.enable = true;
services.cloudflared.tunnels."65c093ce-a3ac-4369-b240-2169514be106" = {
credentialsFile = "/etc/secrets/65c093ce-a3ac-4369-b240-2169514be106.json";
ingress = {
"kemonomimi.pet" = "http://localhost:8679";
"fedi.kemonomimi.pet" = "http://localhost:8678";
"media.kemonomimi.pet" = "http://localhost:8678";
};
default = "http_status:404";
};
services.akkoma.enable = true;
# ill have to enable this
# services.akkoma.config.":pleroma".":media_proxy" = {
@ -59,7 +47,7 @@ in
registrations_open = false;
healthcheck = true;
allow_relay = true;
upload_limit = "10G";
upload_limit = 10737418240;
max_pinned_statuses = 20;
public = true;
};
@ -110,9 +98,10 @@ in
cp -r ${src} $out
'';
in {
"favicon.png" = mkPackage ../akkoma-static/favicon.png;
"static" = mkPackage ../akkoma-static/static;
"instance" = mkPackage ../akkoma-static/instance;
"favicon.png" = mkPackage (inputs.akkoma-static + "/favicon.png");
"static" = mkPackage (inputs.akkoma-static + "/static");
"instance" = mkPackage (inputs.akkoma-static + "/instance");
"emoji" = mkPackage (inputs.akkoma-static + "/emoji");
};
systemd.services.local-static-http = {