Move git config to git.nix
This commit is contained in:
parent
42c01a91f4
commit
2aa3bd96f2
|
@ -0,0 +1,12 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Leonora Tindall";
|
||||||
|
userEmail = "nora@nora.codes";
|
||||||
|
delta.enable = true;
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
10
home.nix
10
home.nix
|
@ -4,16 +4,8 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./vim.nix
|
./vim.nix
|
||||||
|
./git.nix
|
||||||
];
|
];
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "Leonora Tindall";
|
|
||||||
userEmail = "nora@nora.codes";
|
|
||||||
delta.enable = true;
|
|
||||||
extraConfig = {
|
|
||||||
init.defaultBranch = "main";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue