This commit is contained in:
2025-08-16 00:31:17 -05:00
parent 342ae05a70
commit f717435b9b
3 changed files with 38 additions and 4 deletions

View File

@@ -8,8 +8,15 @@
config = lib.mkIf config.homeconfig.git.enable {
programs.git = {
userName = "Nathan";
userEmail = "nathanblunkall5@gmail.com";
userName._secret = if (!config.homeconfig.home-manager.enable) then
config.home-manager.nathan.sops.secrets."git/username"
else
config.sops.secrets."git/username";
userEmail._secret = if (!config.homeconfig.home-manager.enable) then
config.home-manager.nathan.sops.secrets."git/email"
else
config.sops.secrets."git/email";
extraConfig = {
init = {