converted to flakes and implemented sops-nix for the telegraf token

This commit is contained in:
John Lancaster
2024-12-17 00:56:38 -06:00
parent 3e7762c10e
commit d0544a89ff
7 changed files with 287 additions and 13 deletions

9
git.nix Normal file
View File

@@ -0,0 +1,9 @@
{ userSettings, ... }:
{
programs.git = {
enable = true;
extraConfig.credential.helper = "store --file ~/.git-credentials";
userName = "${userSettings.gitUserName}";
userEmail = "${userSettings.gitUserEmail}";
};
}