]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/mail/default.nix
Move directories with only default.nix to standalone file
[perso/Immae/Config/Nix.git] / nixops / modules / mail / default.nix
diff --git a/nixops/modules/mail/default.nix b/nixops/modules/mail/default.nix
deleted file mode 100644 (file)
index 6ec9165..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-{ lib, pkgs, config, myconfig, mylibs, ... }:
-{
-  config.ids.uids.nullmailer = myconfig.env.users.nullmailer.uid;
-  config.ids.gids.nullmailer = myconfig.env.users.nullmailer.gid;
-  config.users.users.nullmailer.uid = config.ids.uids.nullmailer;
-  config.users.groups.nullmailer.gid = config.ids.gids.nullmailer;
-
-  config.services.nullmailer = {
-    enable = true;
-    config = {
-      me = myconfig.env.mail.host;
-      remotes = "${myconfig.env.mail.relay} smtp";
-    };
-  };
-}