Refactor home modules into config + options
This commit is contained in:
14
home/modules/email/options.nix
Normal file
14
home/modules/email/options.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
lib
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
enable = mkEnableOpt "Email";
|
||||
autosync = mkEnableOpt "Automatically call \"notmuch new\" via systemd timer";
|
||||
imapnotify = mkEnableOpt "Use imapnotify to sync and index mail automatically";
|
||||
|
||||
kmail = {
|
||||
enable = mkEnableOpt "Kmail";
|
||||
autostart = mkEnableOpt "Autostart Kmail";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user