From 69c1169c81e42065fcaaa37135271b8237eb4cc6 Mon Sep 17 00:00:00 2001 From: Lyes Saadi Date: Thu, 29 May 2025 19:19:51 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20nullmailer=20et=20d'utilitaires=20?= =?UTF-8?q?diff=C3=A9rents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/crans/default.nix | 5 +++++ modules/crans/nullmailer.nix | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 modules/crans/nullmailer.nix diff --git a/modules/crans/default.nix b/modules/crans/default.nix index 45092a7..a86b3ca 100644 --- a/modules/crans/default.nix +++ b/modules/crans/default.nix @@ -9,6 +9,7 @@ ./ntp.nix ./restic_client.nix ./monitoring.nix + ./nullmailer.nix ./users.nix ]; @@ -30,7 +31,11 @@ programs.vim.enable = true; environment.systemPackages = with pkgs; [ + bat + fd + helix nfs-utils + ripgrep shelldap ]; } diff --git a/modules/crans/nullmailer.nix b/modules/crans/nullmailer.nix new file mode 100644 index 0000000..23bb4ef --- /dev/null +++ b/modules/crans/nullmailer.nix @@ -0,0 +1,16 @@ +{ ... }: + +{ + services.nullmailer = { + enable = true; + + config = { + remotes = '' + smtp.adm.crans.org smtp + ''; + adminaddr = "root@crans.org"; + defaulthost = "crans.org"; + allmailfrom = "root@crans.org"; + }; + }; +}