feat(git): add enable option

This commit is contained in:
hektor committed 2026-05-24 16:00:23 +02:00
1 parent 1255083ad6
commit 6c9bbc27a0
5 files changed
+31 -23

No files matched your search

+2 -1
View File
@@ -8,11 +8,12 @@
{
options.git = {
enable = lib.mkEnableOption "git";
github.enable = lib.mkEnableOption "Github CLI";
gitlab.enable = lib.mkEnableOption "Gitlab CLI";
};
config = {
config = lib.mkIf config.git.enable {
programs.git.enable = true;
home.file = {
".gitconfig".source = dotsPath + "/.gitconfig";