summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
Diffstat (limited to 'system/services')
-rw-r--r--system/services/fail2ban/default.nix4
-rw-r--r--system/services/mail/default.nix8
-rw-r--r--system/services/minecraft/default.nix2
3 files changed, 7 insertions, 7 deletions
diff --git a/system/services/fail2ban/default.nix b/system/services/fail2ban/default.nix
index 5aee097..3e6244b 100644
--- a/system/services/fail2ban/default.nix
+++ b/system/services/fail2ban/default.nix
@@ -1,4 +1,3 @@
-# vim: ts=2
 {...}: {
   services.fail2ban = {
     enable = true;
@@ -8,7 +7,7 @@
       logtarget = SYSLOG
       socket    = /run/fail2ban/fail2ban.sock
       pidfile   = /run/fail2ban/fail2ban.pid
-      dbfile    = /srv/fail2ban/fail2ban.sqlite3
+      dbfile    = /var/lib/fail2ban/db.sqlite3
     '';
     bantime-increment = {
       enable = true;
@@ -28,3 +27,4 @@
     };
   };
 }
+
diff --git a/system/services/mail/default.nix b/system/services/mail/default.nix
index 5bfdb8c..0640fc7 100644
--- a/system/services/mail/default.nix
+++ b/system/services/mail/default.nix
@@ -19,10 +19,10 @@ in {
         "admin@vhack.eu" = all_admins;
       };
 
-      mailDirectory = "/srv/mail/vmail";
-      dkimKeyDirectory = "/srv/mail/dkim";
-      sieveDirectory = "/srv/mail/sieve";
-      backup.snapshotRoot = "/srv/mail/backup";
+      mailDirectory = "/var/lib/mail/vmail";
+      dkimKeyDirectory = "/var/lib/mail/dkim";
+      sieveDirectory = "/var/lib/mail/sieve";
+      backup.snapshotRoot = "/var/lib/mail/backup";
 
       enableImap = false;
       enableImapSsl = true;
diff --git a/system/services/minecraft/default.nix b/system/services/minecraft/default.nix
index e69ffb1..e659af0 100644
--- a/system/services/minecraft/default.nix
+++ b/system/services/minecraft/default.nix
@@ -7,7 +7,7 @@
     enable = true;
     declarative = true;
     eula = true;
-    dataDir = "/srv/minecraft";
+    dataDir = "/var/lib/minecraft";
     openFirewall = true;
     jvmOpts = "-Xmx8192M -Xms8192M";
     whitelist = {