drone: move git config to module
This commit is contained in:
parent
55d619a4ce
commit
21f7bf9b78
2 changed files with 15 additions and 11 deletions
14
modules/nixos/git.nix
Normal file
14
modules/nixos/git.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
user = {
|
||||
name = "wo2wz";
|
||||
email = "189177184+wo2wz@users.noreply.github.com";
|
||||
};
|
||||
safe.directory = "/etc/nixos";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue