From 35cbed7ac74035279cecb7c037fe96f7afb3e746 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sun, 27 Aug 2023 19:09:23 +0200 Subject: [PATCH] aerc: cleanup unused bindings --- modules/programs/aerc-accounts.nix | 2 +- modules/programs/aerc.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/programs/aerc-accounts.nix b/modules/programs/aerc-accounts.nix index 5c772c2cc..22f4db082 100644 --- a/modules/programs/aerc-accounts.nix +++ b/modules/programs/aerc-accounts.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, confSections, confSection, ... }: +{ config, lib, confSections, confSection, ... }: with lib; diff --git a/modules/programs/aerc.nix b/modules/programs/aerc.nix index 662ab5b18..67cbdfe7e 100644 --- a/modules/programs/aerc.nix +++ b/modules/programs/aerc.nix @@ -104,7 +104,6 @@ in { let global = conf.global or { }; local = removeAttrs conf [ "global" ]; - optNewLine = if global != { } && local != { } then "\n" else ""; mkValueString = v: if isList v then # join with comma concatStringsSep "," (map (generators.mkValueStringDefault { }) v)