diff --git a/modules/programs/offlineimap-accounts.nix b/modules/programs/offlineimap-accounts.nix index afc7a0199..bbbc057a9 100644 --- a/modules/programs/offlineimap-accounts.nix +++ b/modules/programs/offlineimap-accounts.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ lib, ... }: with lib; diff --git a/modules/programs/offlineimap.nix b/modules/programs/offlineimap.nix index e3a47817f..1a1845c0f 100644 --- a/modules/programs/offlineimap.nix +++ b/modules/programs/offlineimap.nix @@ -17,22 +17,6 @@ let in "${key} = ${value'}"; }; - # Generates a script to fetch only a specific account. - # - # Note, these scripts are not actually created and installed at the - # moment. It will need some thinking on whether this is a good idea - # and whether other modules should have some similar functionality. - # - # Perhaps have a single tool `email` that wraps the command? - # Something like - # - # $ email - genOfflineImapScript = account: - with account; - pkgs.writeShellScriptBin "offlineimap-${name}" '' - exec ${cfg.package}/bin/offlineimap -a${account.name} "$@" - ''; - accountStr = account: with account; let