about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2023-09-06 14:16:56 +0900
committerNguyễn Gia Phong <cnx@loang.net>2023-09-06 14:16:56 +0900
commitdfef24001f1c21681b8fd0a5dfe3f679f21a5faf (patch)
treec24a6d613a397959a3864a85ae893626c5fa94ed
parentc5bdc5bafdd0dcff5f8f387b5400c24b059ddc86 (diff)
downloadnixos-conf-dfef24001f1c21681b8fd0a5dfe3f679f21a5faf.tar.gz
Require Maddy for Alps to connect to
Fixes: https://todo.sr.ht/~cnx/loang/13
-rw-r--r--mail.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail.nix b/mail.nix
index 91cadd9..9e363ef 100644
--- a/mail.nix
+++ b/mail.nix
@@ -97,5 +97,6 @@ in {
     };
   };
 
+  systemd.services.alps.serviceConfig.Requires = "maddy.service";
   users.extraUsers.maddy.extraGroups = [ "nginx" "shadow" ];
 }