From 5de16c704b0fc8f519b2c19ed3f683a9e68f3884 Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Tue, 5 Aug 2025 15:04:45 +0100 Subject: [PATCH] getmail: remove redundant filter --- modules/programs/getmail/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/getmail/default.nix b/modules/programs/getmail/default.nix index 128b2ff8c..644647a49 100644 --- a/modules/programs/getmail/default.nix +++ b/modules/programs/getmail/default.nix @@ -47,7 +47,7 @@ let delete = ${renderGetmailBoolean getmail.delete} read_all = ${renderGetmailBoolean getmail.readAll} ''; - getmailEnabled = lib.length (lib.filter (a: a.getmail.enable) accounts) > 0; + getmailEnabled = lib.length accounts > 0; # Watch out! This is used by the getmail.service too! renderConfigFilepath = a: ".getmail/getmail${if a.primary then "rc" else a.name}";