feat: mastodon module updates from nixos-unstable
All checks were successful
Flake checks / Check (pull_request) Successful in 18m34s

Pull in changes from https://github.com/NixOS/nixpkgs/pull/251950 early
This commit is contained in:
teutat3s 2023-11-18 18:46:23 +01:00
parent eeb15c93fc
commit 37176a52ce
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 11 additions and 6 deletions

View file

@ -40,10 +40,9 @@
# Different from WEB_DOMAIN in our case
localDomain = "pub.solar";
enableUnixSocket = true;
# Processes used by the mastodon-streaming service. Defaults to the number
# of CPU cores minus one
# This is without affect until this comment is addressed
# https://github.com/NixOS/nixpkgs/pull/251950#issuecomment-1732568492
# Number of processes used by the mastodon-streaming service
# Recommended is the amount of your CPU cores minus one
# On our current 8-Core system, let's start with 5 for now
streamingProcesses = 5;
# Processes used by the mastodon-web service
webProcesses = 2;

View file

@ -1,4 +1,4 @@
{ ... }:
{ flake, ... }:
{
imports =
@ -28,5 +28,11 @@
./apps/matrix/mautrix-telegram.nix
./apps/matrix/synapse.nix
./apps/nginx-matrix.nix
"${flake.inputs.unstable}/nixos/modules/services/web-apps/mastodon.nix"
];
disabledModules = [
"services/web-apps/mastodon.nix"
];
}

View file

@ -8,7 +8,7 @@
overlays = ({ ... }: {
nixpkgs.overlays = [
(final: prev: {
mastodon = inputs.mastodon-fork.legacyPackages.${prev.system}.mastodon;
mastodon = inputs.unstable.legacyPackages.${prev.system}.mastodon;
forgejo = inputs.unstable.legacyPackages.${prev.system}.forgejo;
forgejo-actions-runner = inputs.unstable.legacyPackages.${prev.system}.forgejo-actions-runner;