home-manager/modules/programs
Karl Hallsby f9d8aa6b25 mbsync: write function to generate channel configuration blocks
This function takes in a set of groups, which includes their
consituent channels and writes the appropriate .mbsyncrc block for the
channel. The block that is generated is shown below:
      Channel groupName1-channelName1
      Master :<accountName>-remote:<master-pattern>
      Slave :<accountName>-local:<slave-pattern>

      Channel groupName2-channelName2
      Master :<accountName>-remote:<master-pattern>
      Slave :<accountName>-local:<slave-pattern>

Each group must have a unique name, no matter which account it is
declared under. The same holds true for channels.

Using channels with the patterns set up this way allows one to specify
which maildir directories are to be synchronized FROM the master TO
the slave. In addition, it allows for these maildirs to be remapped,
between the master server and the local slave.
This is critical, because Gmail has a strange way of storing its mail
that makes using mbsync, mu, and mu4e more difficult.

There are additional channel parameters that are already present in
this codebase from the previous use of group-channel configuration,
which will be reused.
2020-06-26 20:22:45 +02:00
..
command-not-found Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
vscode Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
abook.nix abook: add module 2020-03-04 19:58:05 +01:00
afew.nix afew: add module 2018-11-18 23:47:45 +01:00
alacritty.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
alot-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
alot.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
aria2.nix aria2: add module 2020-05-03 13:21:52 +02:00
astroid-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
autorandr.nix autorandr: add crtc option 2020-06-09 23:15:44 +02:00
bash.nix bash, fish, zsh: fix shellAliases example 2020-02-26 22:44:54 +01:00
bat.nix bat: add custom themes 2020-04-21 18:26:13 -04:00
beets.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
broot.nix broot: fix install check 2020-06-04 21:54:35 +02:00
browserpass.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
chromium.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
dircolors.nix dircolors: fix usage together with zsh.oh-my-zsh 2020-05-28 00:08:15 +02:00
direnv.nix direnv: add support for nix-direnv 2020-06-06 22:17:43 +02:00
eclipse.nix eclipse: add option package 2020-06-12 19:34:39 +02:00
emacs.nix emacs: replace use of emacsPackagesGen 2020-06-06 14:53:40 +02:00
feh.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
firefox.nix firefox: update extensions option description 2020-06-09 22:12:08 +02:00
fish.nix fish: source each file in plugin conf.d separately 2020-04-29 21:46:10 +02:00
fzf.nix fzf: support fish integration 2020-03-07 11:52:54 +01:00
getmail-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
getmail.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
git.nix git: add basic support for delta 2020-05-05 00:12:58 +02:00
gnome-terminal.nix vte: add module 2020-06-14 12:20:12 +02:00
go.nix go: add goPrivate option 2020-04-06 19:28:31 +02:00
gpg.nix gpg: sane default for throw-keyids option 2019-09-11 19:30:26 +02:00
home-manager.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
htop.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
i3status.nix i3status: add module 2020-05-03 13:12:13 +02:00
info.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
irssi.nix Use types.port where applicable 2019-08-19 20:37:48 +02:00
jq.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
kakoune.nix kakoune: add missing hook name 2020-04-22 23:18:23 +02:00
keychain.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
kitty.nix kitty: add module 2020-02-23 11:28:53 +01:00
lesspipe.nix Mark rycee as maintainer for a bunch of modules 2017-09-26 23:40:31 +02:00
lf.nix lib: add maintainers attribute set 2020-05-02 16:30:55 +02:00
lieer-accounts.nix programs.lieer: add module 2020-03-07 15:13:15 +01:00
lieer.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
lsd.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
man.nix man: install man, not man-db 2017-10-18 00:33:31 +02:00
matplotlib.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
mbsync-accounts.nix mbsync: create groups configuration attribute 2020-06-26 13:43:41 +02:00
mbsync.nix mbsync: write function to generate channel configuration blocks 2020-06-26 20:22:45 +02:00
mercurial.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
mpv.nix mpv: use wrapMpv instead of mpv-with-scripts 2020-05-31 14:11:10 +02:00
msmtp-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
msmtp.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
ne.nix ne: add module 2020-06-23 22:37:02 +02:00
neomutt-accounts.nix neomutt: fix sendMailCommand when msmtp is enabled 2020-02-16 23:08:37 +01:00
neomutt.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
neovim.nix neovim: fix docbook syntax in option descriptions 2020-04-09 19:27:57 +02:00
newsboat.nix newsboat: show queries before urls 2020-02-26 21:38:07 +01:00
noti.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
notmuch-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
notmuch.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
obs-studio.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
offlineimap-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
offlineimap.nix Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
opam.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
password-store.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pazi.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pidgin.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
powerline-go.nix powerline-go: add module 2020-06-13 00:02:13 +02:00
qutebrowser.nix qutebrowser: add package option 2020-06-15 21:06:14 +02:00
readline.nix readline: fix example 2020-02-02 01:20:05 +01:00
rofi.nix rofi: add package option 2020-05-11 23:07:26 +02:00
rtorrent.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
skim.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
ssh.nix ssh: add support for ServerAliveCountMax 2020-06-03 23:16:43 +02:00
starship.nix starship: improve Emacs handling for fish 2020-05-19 00:12:11 +02:00
taskwarrior.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
termite.nix termite: fix the key for bold foreground color 2020-03-17 23:47:36 +01:00
texlive.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
tmux.nix tmux: only enable secureSocket on Linux by default 2020-06-22 19:34:52 +02:00
urxvt.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
vim.nix vim: avoid using alias of vim-sensible 2020-03-30 21:55:10 +02:00
vscode.nix vscode: fix extensions directory path 2020-06-14 00:43:44 +02:00
z-lua.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
zathura.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
zoxide.nix zoxide: add module 2020-05-26 19:14:39 +02:00
zplug.nix zplug: add module 2020-06-14 15:12:49 +02:00
zsh.nix zsh: support extra settings in oh-my-zsh plugins (#1106) 2020-03-25 15:40:42 +01:00