Added git configuration and mbsync

This commit is contained in:
Benson Chu 2024-01-08 15:06:54 -06:00
parent e333444261
commit db4a1fac8b
2 changed files with 23 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{ pkgs }: with pkgs; [
nix-index
home-manager
gcc
git

View file

@ -73,9 +73,29 @@
# /etc/profiles/per-user/benson/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = {
# EDITOR = "emacs";
EDITOR = "emacsclient";
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs = {
home-manager.enable = true;
git = {
enable = true;
userName = "Benson Chu";
userEmail = "bensonchu457@gmail.com";
extraConfig = {
core = {
editor = "emacsclient";
};
};
};
};
services = {
mbsync = {
enable = true;
# frequency = "*:0/10";
verbose = true;
};
};
}