Fix mobilizon deployment
This commit is contained in:
parent
14afe3fae5
commit
e81b60b1cc
12
flake.nix
12
flake.nix
|
@ -488,12 +488,12 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# mobilizon = nixosSystem' {
|
mobilizon = nixosSystem' {
|
||||||
# modules = [
|
modules = [
|
||||||
# self.nixosModules.microvm
|
self.nixosModules.microvm
|
||||||
# ./hosts/mobilizon
|
./hosts/mobilizon
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
|
|
||||||
mucbot = nixosSystem' {
|
mucbot = nixosSystem' {
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# FIXME: mobilizon just crashes constantly and eats resources away
|
c3d2.deployment.server = "server10";
|
||||||
# c3d2.deployment.server = "server10";
|
|
||||||
|
|
||||||
microvm.mem = 2048;
|
microvm.mem = 2048;
|
||||||
|
|
||||||
|
@ -10,13 +9,14 @@
|
||||||
services = {
|
services = {
|
||||||
mobilizon = {
|
mobilizon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.":mobilizon".":instance" = {
|
settings = {
|
||||||
|
":mobilizon".":instance" = {
|
||||||
name = "C3D2 Mobilizon";
|
name = "C3D2 Mobilizon";
|
||||||
hostname = "mobilizon.c3d2.de";
|
hostname = "mobilizon.c3d2.de";
|
||||||
registrations_open = true;
|
registrations_open = true;
|
||||||
default_language = "de";
|
default_language = "de";
|
||||||
};
|
};
|
||||||
settings.":mobilizon"."Mobilizon.Web.Email.Mailer" = {
|
":mobilizon"."Mobilizon.Web.Email.Mailer" = {
|
||||||
adapter = { value = "Bamboo.SMTPAdapter"; _elixirType = "raw"; };
|
adapter = { value = "Bamboo.SMTPAdapter"; _elixirType = "raw"; };
|
||||||
server = "mail.c3d2.de";
|
server = "mail.c3d2.de";
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
|
@ -28,10 +28,11 @@
|
||||||
retries = 1;
|
retries = 1;
|
||||||
no_mx_lookups = true;
|
no_mx_lookups = true;
|
||||||
};
|
};
|
||||||
settings.":mobilizon".":logger" = {
|
":mobilizon".":logger" = {
|
||||||
level = { value = ":all"; _elixirType = "atom"; };
|
level = { value = ":all"; _elixirType = "atom"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user