add git config
Some checks are pending
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24418 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24420 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24419 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #24421 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.rainbow-resort Hydra build #24424 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #24425 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.pc-installer Hydra build #24423 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522-installer Hydra build #24422 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra checks.x86_64-linux.containers-default Hydra build #24417 of nixos-config:pr618:checks.x86_64-linux.containers-default

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-08 20:23:42 +01:00
parent e52cdb303d
commit 1475ab094c
4 changed files with 26 additions and 1 deletions

View file

@ -43,5 +43,4 @@
"gccarch-skylake-avx512"
"ca-derivations"
];
}

View file

@ -18,5 +18,6 @@
};
home-manager.users.darkkirb.sops.age.keyFile = config.sops.secrets."users/users/darkkirb/age-key".path;
home-manager.users.darkkirb.home.persistence.default.directories = ["sources" "Games"];
home-manager.users.darkkirb.imports = [./home-manager];
environment.impermanence.users = ["darkkirb"];
}

View file

@ -0,0 +1,5 @@
{...}: {
imports = [
./git.nix
];
}

View file

@ -0,0 +1,20 @@
{pkgs, systemConfig, ...}: {
programs.git = {
enable = true;
package =
if systemConfig.isGraphical
then pkgs.gitAndTools.gitFull
else pkgs.git;
lfs.enable = true;
userEmail = "lotte@chir.rs";
userName = "Charlotte 🦝 Delenk";
extraConfig = {
init.defaultBranch = "main";
merge.conflictstyle = "diff3";
push.autoSetupRemote = true;
rerere.enabled = true;
};
delta.enable = true;
};
}