services.lieer: add module
Add 'services.lieer', which generates systemd timer and service units to synchronize a Gmail account with lieer. Per-account configuration lives in 'accounts.email.accounts.<name>.lieer.sync'.
This commit is contained in:
parent
60a939bd01
commit
9f46d516fa
10 changed files with 154 additions and 2 deletions
|
|
@ -384,7 +384,7 @@ in
|
|||
};
|
||||
|
||||
accounts = mkOption {
|
||||
type = types.attrsOf (types.submodule [
|
||||
type = types.attrsOf (types.submodule ([
|
||||
mailAccountOpts
|
||||
(import ../programs/alot-accounts.nix pkgs)
|
||||
(import ../programs/astroid-accounts.nix)
|
||||
|
|
@ -395,7 +395,9 @@ in
|
|||
(import ../programs/neomutt-accounts.nix)
|
||||
(import ../programs/notmuch-accounts.nix)
|
||||
(import ../programs/offlineimap-accounts.nix)
|
||||
]);
|
||||
] ++ optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||
(import ../services/lieer-accounts.nix)
|
||||
]));
|
||||
default = {};
|
||||
description = "List of email accounts.";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue