initial commit for module-refactor

This commit is contained in:
pagedmov
2024-11-01 21:01:52 -04:00
parent 7bee6ebce5
commit ff2535e7a7
62 changed files with 2819 additions and 2670 deletions

View File

@@ -1,7 +1,12 @@
{username, ...}: {
programs.git = {
enable = true;
userEmail = "${username}@gmail.com";
userName = "${username}";
{lib, config, username, ...}: {
options = {
gitConfig.enable = lib.mkEnableOption "enables my git configuration";
};
config = lib.mkIf config.gitConfig.enable {
programs.git = {
enable = true;
userEmail = "${username}@gmail.com";
userName = "${username}";
};
};
}