1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-15 17:40:20 +02:00
home-manager/modules
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
..
accounts Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
lib ne: add module 2020-06-23 22:37:02 +02:00
lib-bash home-manager: respect NIX_STATE_DIR 2020-06-14 20:41:55 +02:00
misc ne: add module 2020-06-23 22:37:02 +02:00
programs mbsync: write function to generate channel configuration blocks 2020-06-26 20:22:45 +02:00
services emacs: fix service environment 2020-06-24 22:50:30 +02:00
targets generic-linux: respect NIX_STATE_DIR 2020-06-14 23:34:53 +02:00
default.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
files.nix files: reference lndir through xorg 2020-06-06 13:24:51 +02:00
home-environment.nix home-environment: add full locale options support 2020-06-06 21:23:01 +02:00
manual.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
modules.nix ne: add module 2020-06-23 22:37:02 +02:00
systemd-activate.rb systemd: improve systemd-activate.rb script 2020-03-24 00:00:44 +01:00
systemd-activate.sh allow Home Manager to be used as a NixOS module 2018-02-07 20:50:01 +01:00
systemd.nix systemd: don't page failed user units 2020-04-23 23:40:58 +02:00
xcursor.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
xresources.nix xresources: give properties option more specific type 2020-02-29 22:32:52 +01:00
xsession.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00