mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-30 08:57:23 +02:00
treewide: Adapt to git module changes
This commit is contained in:
parent
f9e38af947
commit
8694df0f9b
5 changed files with 19 additions and 19 deletions
|
|
@ -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; [
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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/";
|
||||
|
|
|
|||
|
|
@ -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: $*"' - '';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue