proper repo

This commit is contained in:
Zoty 2026-05-22 15:51:43 -03:00
parent 33d01daa3d
commit 8a35a32445
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
17 changed files with 338 additions and 109 deletions

View file

@ -1,21 +1,15 @@
{ pkgs, ... }:
let
gitUsername = "Zoty";
gitEmail = "zotydev@gmail.com";
myPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK8fKj0nQMJt9nnXbYgT4ggYuj6ieGCy6KL53frwoNHa";
in
{
{ config, identity, pkgs, ... }: {
home.packages = with pkgs; [ diff-so-fancy ];
home.file.".ssh/id_ed25519.pub".text = myPublicKey;
home.file.".ssh/id_ed25519.pub".text = identity.sshPublicKey;
programs.git = {
enable = true;
settings = {
user = {
name = gitUsername;
email = gitEmail;
signingKey = "/home/zoty/.ssh/id_ed25519";
name = identity.fullName;
email = identity.email;
signingKey = "${config.home.homeDirectory}/.ssh/id_ed25519";
};
core = {
compression = 9;
@ -29,8 +23,8 @@ in
};
init.defaultBranch = "main";
status = {
branch = true;
showStash = true;
branch = true;
showStash = true;
showUntrackedFiles = "all";
};
diff = {
@ -70,9 +64,9 @@ in
commit.gpgSign = true;
gpg.format = "ssh";
url = {
"git@github.com:ZotyDev/".insteadOf = "zoty:";
"git@github.com:ZotyDev/".insteadOf = "zoty:";
"git@github.com:UnnamedEngine/".insteadOf = "unen:";
"git@github.com:Taumaturgo/".insteadOf = "taumaturgo:";
"git@github.com:Taumaturgo/".insteadOf = "taumaturgo:";
};
};
};