home configuration submodules and configure alacritty in nix file

This commit is contained in:
2024-10-17 18:42:09 +02:00
parent 2d3d965304
commit ed9a284136
6 changed files with 60 additions and 60 deletions

14
modules/git.nix Normal file
View 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~";
};
};
}