diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-25 23:11:58 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-25 23:11:58 +0200 |
| commit | 0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc (patch) | |
| tree | 1f38cf070a3bf211de99ff02a9bf5f04fa713768 | |
| parent | c84662cfa4d1e33d3d23bb713fa6ef40c303a066 (diff) | |
| download | nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar.gz nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar.bz2 nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.tar.xz nixos-0e2bcd27d69ca67aa7f5103d2b47d104e2a1b6dc.zip | |
mlmmj group
| -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" = { |
