nixos/hosts/Monarch/home.nix
Evie Litherland-Smith a615762940 Combine mail setup with calendar and contacts
Move mail into accounts expression set
Add vdirsyncer and initial config to sync to CalDAV and CardDAV

TODO add to emacs
2023-09-02 08:41:07 +01:00

33 lines
811 B
Nix

{ pkgs, user, shell ? "zsh", ... }:
let homeDirectory = "/Users/${user}";
in {
imports = [
../../home/shell/${shell}.nix
../../home/accounts/default.nix
../../home/pass/default.nix
../../home/git/default.nix
../../home/ssh/default.nix
../../home/tui/default.nix
../../home/tmux/default.nix
../../home/alacritty/default.nix
../../home/emacs/default.nix
];
home = {
inherit homeDirectory;
username = user;
stateVersion = "23.05";
packages = with pkgs; [ coreutils-prefixed ];
};
programs = {
home-manager.enable = true;
zsh = {
sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
envExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)"
'';
};
emacs.package = pkgs.emacs29;
};
services.syncthing.enable = true;
}