initial commit
This commit is contained in:
40
home/default.nix
Normal file
40
home/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ 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 = { };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user