email: use xdg data dirs to store maildir

This commit is contained in:
Leonardo Eugênio 2023-08-11 21:51:02 -03:00
parent f27db83936
commit 16ab674e79

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { pkgs, lib, config, ... }:
let let
inherit (pkgs.uservars.theme) color; inherit (pkgs.uservars.theme) color;
@ -21,6 +21,7 @@ let
}; };
in in
{ {
accounts.email.maildirBasePath = "${config.xdg.dataHome}/maildir";
accounts.email.accounts = accounts.email.accounts =
{ {
"personal" = { "personal" = {