add git config
This commit is contained in:
parent
d76da1754b
commit
e1f15970ec
|
@ -6,11 +6,15 @@
|
||||||
home.username = "alex";
|
home.username = "alex";
|
||||||
home.homeDirectory = "/home/alex";
|
home.homeDirectory = "/home/alex";
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
home.shellAliases = {
|
||||||
|
"git-override" = "git add . && git commit --amend --no-edit && git push --force-with-lease";
|
||||||
|
};
|
||||||
|
|
||||||
# Packages that should be installed to the user profile.
|
# Packages that should be installed to the user profile.
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
discord
|
discord
|
||||||
firefox
|
firefox
|
||||||
git
|
|
||||||
gnucash
|
gnucash
|
||||||
keepassxc
|
keepassxc
|
||||||
lutris
|
lutris
|
||||||
|
@ -27,6 +31,15 @@
|
||||||
|
|
||||||
# User software configurations
|
# User software configurations
|
||||||
programs = {
|
programs = {
|
||||||
|
git = {
|
||||||
|
enable = true;
|
||||||
|
userEmail = "alexmat2on@protonmail.com";
|
||||||
|
userName = "alex";
|
||||||
|
ignores = [ "*~" ];
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in New Issue