treewide: Adapt to git module changes

This commit is contained in:
Quentin Boyer 2025-11-08 12:40:58 +01:00
parent f9e38af947
commit 8694df0f9b
5 changed files with 19 additions and 19 deletions

View file

@ -4,8 +4,8 @@
home.homeDirectory = "/home/${config.extraInfo.username}";
programs.git = {
userName = "traxys";
userEmail = config.extraInfo.email;
settings.user.name = "traxys";
settings.user.email = config.extraInfo.email;
};
home.packages = with pkgs; [

View file

@ -1,8 +1,8 @@
{ config, ... }:
{
programs.git = {
userName = "traxys";
userEmail = config.extraInfo.email;
settings.user.name = "traxys";
settings.user.email = config.extraInfo.email;
};
traxys.waybar.modules."battery".enable = true;

View file

@ -6,8 +6,8 @@
}:
{
programs.git = {
userName = "Quentin Boyer";
userEmail = config.extraInfo.email;
settings.user.name = "Quentin Boyer";
settings.user.email = config.extraInfo.email;
};
systemd.user.services = {

View file

@ -78,8 +78,8 @@ in
];
programs.git = {
userName = "Quentin Boyer";
userEmail = config.workAddr;
settings.user.name = "Quentin Boyer";
settings.user.email = config.workAddr;
includes = [
{
condition = "gitdir:~/Perso/";

View file

@ -139,7 +139,7 @@
compile_commands.json
'';
extraConfig = {
settings = {
sendemail = {
composeEncoding = "utf-8";
};
@ -167,17 +167,17 @@
untrackedCache = true;
commitGraph = true;
};
};
aliases = {
fpush = "push --force-with-lease";
ri = "rebase -i";
fix = "commit --fixup";
amend = "commit --amend";
rib = "!git ri $(git bb) $@";
bb = "config --local --default master custom.base-branch";
set-bb = "config --local custom.base-branch";
rv = ''!sh -c 'git commit --amend --no-edit --trailer "Reviewed-by: $*"' - '';
alias = {
fpush = "push --force-with-lease";
ri = "rebase -i";
fix = "commit --fixup";
amend = "commit --amend";
rib = "!git ri $(git bb) $@";
bb = "config --local --default master custom.base-branch";
set-bb = "config --local custom.base-branch";
rv = ''!sh -c 'git commit --amend --no-edit --trailer "Reviewed-by: $*"' - '';
};
};
};