home configuration submodules and configure alacritty in nix file
This commit is contained in:
14
modules/git.nix
Normal file
14
modules/git.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ config, lib, pkgs, username,homeDir, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userEmail = "tomoron@student.42angouleme.fr";
|
||||
userName = "tomoron";
|
||||
extraConfig.init.defaultBranch="master";
|
||||
aliases = {
|
||||
fuck = "!f() { git reset --hard \"@{upstream}\" && git restore . && git clean -f .; };f";
|
||||
back = "reset HEAD~";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user