fixes to get darwin to build

This commit is contained in:
Noah Masur
2022-06-18 13:17:11 -04:00
parent d7b2f36dfe
commit e2189397fc
8 changed files with 45 additions and 14 deletions

View File

@ -13,7 +13,7 @@
programs.himalaya = { enable = true; };
programs.mbsync = { enable = true; };
services.mbsync = {
services.mbsync = lib.mkIf pkgs.stdenv.isLinux {
enable = true;
frequency = "*:0/5";
};
@ -39,7 +39,7 @@
himalaya = {
enable = true;
settings = {
downloads-dir = config.userDirs.download;
downloads-dir = if pkgs.stdenv.isDarwin then "$HOME/Downloads" else config.userDirs.download;
smtp-insecure = true;
};
};