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
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:
parent
e52cdb303d
commit
1475ab094c
4 changed files with 26 additions and 1 deletions
|
@ -43,5 +43,4 @@
|
|||
"gccarch-skylake-avx512"
|
||||
"ca-derivations"
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -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"];
|
||||
}
|
||||
|
|
5
users/darkkirb/home-manager/default.nix
Normal file
5
users/darkkirb/home-manager/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./git.nix
|
||||
];
|
||||
}
|
20
users/darkkirb/home-manager/git.nix
Normal file
20
users/darkkirb/home-manager/git.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue