refactor: modulization
This commit is contained in:
parent
a29782681a
commit
f6acb92ad0
63 changed files with 680 additions and 1959 deletions
|
|
@ -1,13 +1,9 @@
|
|||
{ git-config, ... }:
|
||||
let
|
||||
userName = git-config.username;
|
||||
email = git-config.email;
|
||||
in
|
||||
{ settings, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = userName;
|
||||
userEmail = email;
|
||||
userName = settings.personal.git.username;
|
||||
userEmail = settings.personal.git.email;
|
||||
extraConfig = {
|
||||
safe.directory = [ "/etc/nixos" ];
|
||||
init.defaultBranch = "main";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue