From 59180328cda59817d71cd58c8f48ead047375064 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 17 Feb 2025 02:21:56 +0300 Subject: 2025-02-17 --- modules/nullmailer.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/nullmailer.nix') diff --git a/modules/nullmailer.nix b/modules/nullmailer.nix index 9f7b4ac..41fecef 100644 --- a/modules/nullmailer.nix +++ b/modules/nullmailer.nix @@ -4,14 +4,13 @@ lib, ... }: -with lib; let cfg = config.nixfiles.modules.nullmailer; in { - options.nixfiles.modules.nullmailer.enable = mkEnableOption "Nullmailer"; + options.nixfiles.modules.nullmailer.enable = lib.mkEnableOption "Nullmailer"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { # No use in enabling it other than having a retry queue. # ark.directories = ["/var/spool/nullmailer"]; -- cgit 1.4.1