forked from pub-solar/infra
feat: mastodon module updates from nixos-unstable
Pull in changes from https://github.com/NixOS/nixpkgs/pull/251950 early
This commit is contained in:
parent
eeb15c93fc
commit
37176a52ce
|
@ -40,10 +40,9 @@
|
||||||
# Different from WEB_DOMAIN in our case
|
# Different from WEB_DOMAIN in our case
|
||||||
localDomain = "pub.solar";
|
localDomain = "pub.solar";
|
||||||
enableUnixSocket = true;
|
enableUnixSocket = true;
|
||||||
# Processes used by the mastodon-streaming service. Defaults to the number
|
# Number of processes used by the mastodon-streaming service
|
||||||
# of CPU cores minus one
|
# Recommended is the amount of your CPU cores minus one
|
||||||
# This is without affect until this comment is addressed
|
# On our current 8-Core system, let's start with 5 for now
|
||||||
# https://github.com/NixOS/nixpkgs/pull/251950#issuecomment-1732568492
|
|
||||||
streamingProcesses = 5;
|
streamingProcesses = 5;
|
||||||
# Processes used by the mastodon-web service
|
# Processes used by the mastodon-web service
|
||||||
webProcesses = 2;
|
webProcesses = 2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{ flake, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
@ -28,5 +28,11 @@
|
||||||
./apps/matrix/mautrix-telegram.nix
|
./apps/matrix/mautrix-telegram.nix
|
||||||
./apps/matrix/synapse.nix
|
./apps/matrix/synapse.nix
|
||||||
./apps/nginx-matrix.nix
|
./apps/nginx-matrix.nix
|
||||||
|
|
||||||
|
"${flake.inputs.unstable}/nixos/modules/services/web-apps/mastodon.nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledModules = [
|
||||||
|
"services/web-apps/mastodon.nix"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
overlays = ({ ... }: {
|
overlays = ({ ... }: {
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: prev: {
|
(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 = inputs.unstable.legacyPackages.${prev.system}.forgejo;
|
||||||
forgejo-actions-runner = inputs.unstable.legacyPackages.${prev.system}.forgejo-actions-runner;
|
forgejo-actions-runner = inputs.unstable.legacyPackages.${prev.system}.forgejo-actions-runner;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue