home-manager/home.nix

37 lines
765 B
Nix

{ lib, pkgs, ... }:
{
home = {
packages = with pkgs; [
# Version Control
git jujutsu
];
username = "drew";
homeDirectory = "/home/drew";
stateVersion = "23.11";
};
programs = {
home-manager.enable = true;
git = {
enable = true;
userEmail = "dgalbraith33@gmail.com";
userName = "Drew Galbraith";
extraConfig = {
core = {
editor = "vim";
};
init.defaultBranch = "main";
};
};
};
xdg.configFile = {
# Add kitty manually since there is an error with running it after installed with homemanager.
"kitty/Tomorrow_Night_Eighties.conf".source = ./kitty/Tomorrow_Night_Eighties.conf;
"kitty/kitty.conf".source = ./kitty/kitty.conf;
};
}