Compare commits
4 Commits
73b4637740
...
840fca4b9c
Author | SHA1 | Date | |
---|---|---|---|
840fca4b9c | |||
9b0907391e | |||
74c6e229cf | |||
a52a56a16e |
@ -61,6 +61,8 @@
|
||||
lftp
|
||||
nix-prefetch-scripts
|
||||
smartmontools
|
||||
htop
|
||||
telnet
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
@ -10,6 +10,13 @@ let
|
||||
pgmanage_port = 52347;
|
||||
max_port = 52348;
|
||||
musique_port = 52349;
|
||||
|
||||
ekleog_matrix_0_33 = pkgs.fetchgit {
|
||||
url = "https://github.com/Ekleog/nixpkgs.git";
|
||||
rev = "fe1fa933d168faec56767a9bd1daa0d47070bdf0";
|
||||
sha256 = "02nlcs46ijjkwl8i521555gpd0w2if87p9bmdn2s5g728pz8mh27";
|
||||
};
|
||||
ekleog_matrix_0_33_pkgs = import ekleog_matrix_0_33 {};
|
||||
in
|
||||
|
||||
{
|
||||
@ -21,6 +28,8 @@ in
|
||||
../../services/site-max.nix
|
||||
];
|
||||
|
||||
services.fail2ban.enable = true;
|
||||
|
||||
services.smartd.enable = true;
|
||||
services.smartd.notifications.mail.enable = true;
|
||||
services.smartd.notifications.mail.recipient = "paul@nyanlout.re";
|
||||
@ -168,6 +177,7 @@ in
|
||||
services.postgresql.enable = true;
|
||||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
package = ekleog_matrix_0_33_pkgs.matrix-synapse;
|
||||
enable_registration = true;
|
||||
server_name = "nyanlout.re";
|
||||
listeners = [
|
||||
@ -227,6 +237,11 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.services.matrix-synapse.serviceConfig = {
|
||||
MemoryHigh = "3G";
|
||||
MemoryMax = "4G";
|
||||
};
|
||||
|
||||
services.pgmanage.enable = true;
|
||||
services.pgmanage.port = pgmanage_port;
|
||||
services.pgmanage.connections = {
|
||||
|
Loading…
Reference in New Issue
Block a user