keep more

This commit is contained in:
2025-08-16 11:50:30 -05:00
parent d48d7b50c5
commit 6b5fe32a3b
2 changed files with 12 additions and 8 deletions

View File

@@ -7,14 +7,18 @@
config = lib.mkIf config.homeconfig.git.enable {
sops.secrets."git/username" = {};
sops.secrets."git/email" = {};
sops = {
secrets = {
"git/username" = {};
"git/email" = {};
};
sops.templates.gitconfig.content = ''
[user]
name = "${config.sops.placeholder."git/username"}"
email = "${config.sops.placeholder."git/email"}"
'';
templates.gitconfig.content = ''
[user]
name = "${config.sops.placeholder."git/username"}"
email = "${config.sops.placeholder."git/email"}"
'';
};
programs.git = {
enable = true;