mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
19 lines
344 B
Nix
19 lines
344 B
Nix
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.user.utils.email;
|
|
|
|
in
|
|
{ options.modules.user.utils.email = { enable = mkEnableOption "user.utils.email"; };
|
|
config = mkIf cfg.enable {
|
|
programs.aerc = {
|
|
enable = true;
|
|
};
|
|
|
|
home.file.".config/aerc" = {
|
|
source = ./config;
|
|
recursive = true;
|
|
};
|
|
};
|
|
}
|