mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
chore: fix deprecation warnings
This commit is contained in:
parent
e03f3af01d
commit
595d2b23e0
7 changed files with 20 additions and 21 deletions
|
|
@ -9,13 +9,17 @@
|
|||
pre-commit
|
||||
];
|
||||
|
||||
fireproof.home-manager.programs.delta = {
|
||||
enable = true;
|
||||
enableGitIntegration = true;
|
||||
};
|
||||
|
||||
fireproof.home-manager.programs.git = {
|
||||
enable = true;
|
||||
|
||||
userEmail = "nickolaj@fireproof.website";
|
||||
userName = "Nickolaj Jepsen";
|
||||
|
||||
extraConfig = {
|
||||
settings = {
|
||||
user.email = "nickolaj@fireproof.website";
|
||||
user.name = "Nickolaj Jepsen";
|
||||
gpg.format = "ssh";
|
||||
gpg.ssh.program = "op-ssh-sign";
|
||||
push.autosetupremote = "true";
|
||||
|
|
@ -24,14 +28,8 @@
|
|||
rebase.autoStash = "true";
|
||||
rerere.enabled = true;
|
||||
init.defaultBranch = "main";
|
||||
alias.fixup = "!git log -n 50 --pretty=format:'%h %s' --no-merges | ${lib.getExe pkgs.fzf} | cut -c -7 | xargs -o git commit --fixup";
|
||||
};
|
||||
|
||||
delta.enable = true;
|
||||
|
||||
aliases = {
|
||||
"fixup" = "!git log -n 50 --pretty=format:'%h %s' --no-merges | ${lib.getExe pkgs.fzf} | cut -c -7 | xargs -o git commit --fixup";
|
||||
};
|
||||
|
||||
includes = [
|
||||
{
|
||||
condition = "hasconfig:remote.*.url:git@github.com:Digital-Udvikling/**";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue