summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-25 23:11:58 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-25 23:11:58 +0200
commit0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc (patch)
tree1f38cf070a3bf211de99ff02a9bf5f04fa713768
parentc84662cfa4d1e33d3d23bb713fa6ef40c303a066 (diff)
downloadnixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar
nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar.gz
nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar.bz2
nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar.xz
nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.zip
mlmmj group
-rw-r--r--ymir.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index b99e396b..e3a19dcb 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -425,6 +425,17 @@ in rec {
425 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; 425 networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"];
426 }; 426 };
427 427
428 systemd.services."mlmmj-maintd" = {
429 description = "mlmmj maintenance daemon";
430 wantedBy = [ "multi-user.target" ];
431
432 serviceConfig = {
433 User = "mlmmj";
434 Group = "mlmmj";
435 ExecStart = "${pkgs.mlmmj}/bin/mlmmj-maintd -F -d ${spoolDir}/${cfg.listDomain}";
436 };
437 };
438
428 services.dovecot2 = { 439 services.dovecot2 = {
429 enable = true; 440 enable = true;
430 enableImap = true; 441 enableImap = true;
@@ -484,8 +495,11 @@ in rec {
484 isSystemUser = true; 495 isSystemUser = true;
485 home = "/var/spool/lists"; 496 home = "/var/spool/lists";
486 createHome = true; 497 createHome = true;
498 group = "mlmmj";
487 }; 499 };
488 500
501 users.extraGroups."mlmmj" = {};
502
489 security.acme = { 503 security.acme = {
490 certs = { 504 certs = {
491 "yggdrasil.li" = { 505 "yggdrasil.li" = {