Files
nix-kickstart/home/default.nix

41 lines
843 B
Nix
Raw Permalink Normal View History

2026-04-12 16:10:14 -04:00
{ pkgs, userName, userEmail }: {
# enable home-manager
programs.home-manager.enable = true;
# install packages here (that are within nixpkgs ofc)
home.packages = with pkgs; [
tailscale
];
# this example git configuration is tied to your user, not the system!
programs.git = {
enable = true;
userName = userName;
userEmail = userEmail;
extraConfig = {
init.defaultBranch = "master";
push.autoSetupRemote = true;
pull.rebase = false;
merge.tool = "nvimdiff";
mergetool.keepBackup = false;
};
ignores = [
".DS_Store"
".direnv"
".idea"
];
aliases = { };
};
# same idea with this example zsh configuration!
programs.zsh = {
enable = true;
autosuggestions.enable = true;
enableCompletion = true;
shellAliases = { };
};
}