Boilerplate reduction (I understand strings in nix now!)

This commit is contained in:
Emmet 2023-06-22 14:53:10 -05:00
parent c7f3327147
commit b4a0d72a92
17 changed files with 136 additions and 144 deletions

View file

@ -1,10 +1,10 @@
{ config, lib, pkgs, myName, myEmail, ... }:
{ config, lib, pkgs, username, email, ... }:
{
home.packages = [ pkgs.git ];
programs.git.enable = true;
programs.git.userName = myName;
programs.git.userEmail = myEmail;
programs.git.userName = username;
programs.git.userEmail = email;
programs.git.extraConfig = {
init.defaultBranch = "main";
};