Remove pixelfed and photoprism

This commit is contained in:
Jimbo 2024-12-29 10:06:13 -05:00
parent 7a85fe7770
commit 16f158898f
4 changed files with 2 additions and 42 deletions

Binary file not shown.

View file

@ -6,7 +6,6 @@
dataDir = "/var/lib/mysql";
ensureDatabases = [
"minecraft"
"photoprism"
];
ensureUsers = [
{
@ -15,12 +14,6 @@
"minecraft.*" = "ALL PRIVILEGES";
};
}
{
name = "photoprism";
ensurePermissions = {
"photoprism.*" = "ALL PRIVILEGES";
};
}
];
};
}

View file

@ -1,10 +1,9 @@
{ ... }:
{
imports = [
./matrix
./mastodon
./lemmy
./pixelfed
./mastodon
./matrix
./owncast
];
}

View file

@ -1,32 +0,0 @@
{ pkgs, config, ... }:
{
services.pixelfed = {
enable = true;
domain = "pics.${config.domains.jim1}";
secretFile = pkgs.writeText "appkey" config.secrets.pixelfedKey;
settings = {
APP_NAME = ''"Jimbo's Pixelfed"'';
INSTANCE_DESCRIPTION = ''"The Jimbosfiles Pixelfed Instance"'';
INSTANCE_CONTACT_EMAIL = "contact@${config.domains.jim2}";
OPEN_REGISTRATION = true;
APP_LOCALE = "en";
INSTANCE_DISCOVER_PUBLIC = true;
STORIES_ENABLED = true;
# Mail config
ENFORCE_EMAIL_VERIFICATION = true;
MAIL_FROM_ADDRESS = "noreply@${config.domains.jim1}";
MAIL_FROM_NAME = ''"Jimbo's Pixelfed <noreply@${config.domains.jim1}>"'';
MAIL_ENCRYPTION = "tls";
MAIL_DRIVER = "smtp";
MAIL_HOST = "mx.${config.domains.jim1}";
MAIL_PORT = 587;
MAIL_USERNAME = "noreply@${config.domains.jim1}";
MAIL_PASSWORD = config.secrets.noreplyPassword;
};
nginx = {
enableACME = true;
forceSSL = true;
};
};
}