blob: 88cae3795d8abcb8c75df3576b87db948785e1c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ config, lib, ... }:
let
cfg = config.my.home.mail;
mkRelatedOption = desc: lib.mkEnableOption desc // { default = cfg.enable; };
in
{
imports = [ ./accounts ];
options.my.home.mail = with lib; {
enable = mkEnableOption "email configuration";
};
config = { accounts.email = { maildirBasePath = ".mail"; }; };
}
|