1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

offlineimap: cleanup unused bindings

This commit is contained in:
Damien Cassou 2023-08-27 19:10:14 +02:00 committed by Robert Helgesson
parent 0962772e0b
commit 455cc8cf1c
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 1 additions and 17 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { lib, ... }:
with lib; with lib;

View file

@ -17,22 +17,6 @@ let
in "${key} = ${value'}"; 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 <account name> <program name> <program args>
genOfflineImapScript = account:
with account;
pkgs.writeShellScriptBin "offlineimap-${name}" ''
exec ${cfg.package}/bin/offlineimap -a${account.name} "$@"
'';
accountStr = account: accountStr = account:
with account; with account;
let let