diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-09 20:34:00 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-09 20:34:00 +0530 |
| commit | ee32d0d0813f9870d89fb7d821633fd8b4a9987a (patch) | |
| tree | 97ea433469377daee6f9651f10a0a7a21be95d75 /modules/scripts/default.nix | |
| parent | e2ae84d1c8ab00021127d455e549a47af9bc3291 (diff) | |
| download | home-manager-config-ee32d0d0813f9870d89fb7d821633fd8b4a9987a.tar.gz home-manager-config-ee32d0d0813f9870d89fb7d821633fd8b4a9987a.zip | |
feat: added email configuration with mbsync + notmuch
added a private module which will be gitignored and serves to include options that are not meant to be shared
Diffstat (limited to 'modules/scripts/default.nix')
| -rw-r--r-- | modules/scripts/default.nix | 41 |
1 files changed, 13 insertions, 28 deletions
diff --git a/modules/scripts/default.nix b/modules/scripts/default.nix index 8ee8f11..5e6b88b 100644 --- a/modules/scripts/default.nix +++ b/modules/scripts/default.nix @@ -37,34 +37,6 @@ let # Script definitions: { path, env?, deps?, conditions? } # condition: attrset of { option (string path), value (expected value) } scriptDefs = { - aerc-mail-setup = { - path = ./aerc-mail-setup.sh; - deps = [ - pkgs.gnupg - pkgs.isync - pkgs.notmuch - config.programs.gopass.package - ]; - conditions = [ - { - option = "programs.aerc.enable"; - value = true; - } - ]; - }; - aerc-sync-mail = { - path = ./aerc-sync-mail.sh; - deps = [ - pkgs.isync - pkgs.notmuch - ]; - conditions = [ - { - option = "programs.aerc.enable"; - value = true; - } - ]; - }; aria2-run = { path = ./aria2-run.sh; deps = [ @@ -218,6 +190,19 @@ let } ]; }; + meli-sync = { + path = ./meli-sync.sh; + deps = [ + pkgs.mbsync + pkgs.notmuch + ]; + conditions = [ + { + option = "programs.meli.enable"; + value = true; + } + ]; + }; }; # Check whether all conditions for a script are satisfied |
