mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
offlineimap: cleanup unused bindings
This commit is contained in:
parent
0962772e0b
commit
455cc8cf1c
2 changed files with 1 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue