Auto import files instead of maintaining file list.

This commit is contained in:
Kevin Baensch 2020-03-29 09:10:14 +02:00
parent 081d10bc21
commit c543303ab9
Signed by: derped
GPG key ID: C0F1D326C7626543
15 changed files with 12 additions and 99 deletions

View file

@ -1,18 +0,0 @@
{
imports = [
./acme.nix
./cups.nix
./docker.nix
./fail2ban.nix
./gitea.nix
./hydra.nix
./mailserver/default.nix
./mailserver.nix
./mariaDB.nix
./nextcloud.nix
./nginx.nix
./openssh.nix
./udev.nix
./desktop.nix
];
}

View file

@ -1,28 +0,0 @@
{
services.prosody = {
enable = true;
admins = [ "derped@ophanim.de" ];
allowRegistration = false;
extraConfig = ''
use_libevent = true
s2s_require_encryption = true
c2s_require_encryption = true
'';
extraModules = [ "private" "vcard" "privacy" "compression" "component" "muc" "pep" "adhoc" "lastactivity" "admin_adhoc" "blocklist"];
# modules.legacyauth = false;
ssl.cert = "/var/lib/acme/ophanim.de/fullchain.pem";
ssl.key = "/var/lib/acme/ophanim.de/key.pem";
virtualHosts = {
localhost = {
domain = "localhost";
enabled = true;
};
"ophanim.de" = {
domain = "ophanim.de";
enabled = true;
};
};
};
}