summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/configuration.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 44788c2..5d0cef8 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -24,6 +24,11 @@
services.openssh.passwordAuthentication = false;
users.extraUsers.root.openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCpDKWgowf2Gl83b7LsLzwpeKteLWeEE+B3ukE23XAiPmrYnD552ufUnYmid4yItWhNRY4SVsLMCfrdQj8+wftVHNXwx+Y559djAYjkm7qmtBFTvUNPSgtHkX4eoLA79nCPXzd69SS3qkqM2oLGaNKJV9lqxUcaTo0KzKOy5wy7oxQau3w5zCN/kHtxU2ktXGKB6oGocfLi87jefelmoruxo604itpduq78cAhd5fcZy/uZLzNTWf1GdLuqy7ep68txfeRknJ3TKpbaAk+YOlv4AvA23nD7V1GAn757fwv6JpiGe6/VvzkrR8YFLA8sA3kC7Ev8QD1dAkK9S0jMuLzRdAtMWezr7SXNHVEFZ1MLXAbECVkqXOkM0toK8F5ulMfY5E40RWKkawZOr6iB+tHa199WphSgjhtm9frywBMBE/3J5i4purOhZHemmmxJyv4fmSKW42toyc+d6lj0fWBFo3QYWSZPOIpsYhAo4jRw+LHlYwJr7bNIPxKEjutSM5sbacM2Om0GYU+SfHnX4+P5GYaSoFY5SfsjWCpSaK98ngKuKHlBuK2oQczhmFJAFQsBQinpoTF63qfzDpUyfmquvOaDtV9GVMn3AsZemVS+yVXWHHT4ZdXYvSsbgujlM/bUyH/eGLBQnkWBU74W2OxusyFkyp8k7zLwxgj0/hfWew== Miguel_User@DESKTOP-4NH8M69" ];
+ # MARIADB
+ services.mysql.enable = true;
+ services.mysql.package = pkgs.mariadb;
+ services.mysql.bind = "0.0.0.0";
+
# XMPP
services.ejabberd.enable = true;
services.ejabberd.configFile = "/etc/ejabberd.yaml";
@@ -73,6 +78,16 @@
root = "/var/www/comet.softwarefools.com";
};
+ # ICINGA
+ services.icingaweb2.enable = true;
+ services.icingaweb2.modules.monitoring.enable = false;
+ services.icingaweb2.virtualHost = "icinga.softwarefools.com";
+ services.nginx.virtualHosts."icinga.softwarefools.com" = {
+ forceSSL = true;
+ enableACME = true;
+ };
+
+
# DOKUWIKI
services.dokuwiki."dokuwiki.softwarefools.com" = {
enable = true;
@@ -150,7 +165,7 @@
# FIREWALL
networking.firewall.enable = true;
- networking.firewall.allowedTCPPorts = [ 80 443 5222 5223 5269 ];
+ networking.firewall.allowedTCPPorts = [ 80 443 5222 5223 5269 3306 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.