diff options
| -rw-r--r-- | ymir.nix | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -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" = { |
