feat: add git
This commit is contained in:
parent
62d230adf6
commit
506ff311b5
2 changed files with 19 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
imports = [./git.nix];
|
||||||
}
|
}
|
||||||
16
programs/git.nix
Normal file
16
programs/git.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
user = {
|
||||||
|
name = "Katharina Heidenreich";
|
||||||
|
email = "katharina.heidenreich02@gmail.com";
|
||||||
|
};
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
pull.rebase = false;
|
||||||
|
core.editor = "nano";
|
||||||
|
safe.directory = ["/etc/nixos"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue