refactor: namespace git cli options under git module
This commit is contained in:
@@ -46,7 +46,7 @@ in
|
|||||||
browser.primary = "librewolf";
|
browser.primary = "librewolf";
|
||||||
cloud.hetzner.enable = true;
|
cloud.hetzner.enable = true;
|
||||||
comms.signal.enable = true;
|
comms.signal.enable = true;
|
||||||
github.enable = true;
|
git.github.enable = true;
|
||||||
shell.bash.aliases.lang-js = true;
|
shell.bash.aliases.lang-js = true;
|
||||||
shell.bash.addBinToPath = true;
|
shell.bash.addBinToPath = true;
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ in
|
|||||||
browser.primary = "librewolf";
|
browser.primary = "librewolf";
|
||||||
cloud.hetzner.enable = true;
|
cloud.hetzner.enable = true;
|
||||||
comms.signal.enable = true;
|
comms.signal.enable = true;
|
||||||
github.enable = true;
|
git.github.enable = true;
|
||||||
shell.bash.aliases.lang-js = true;
|
shell.bash.aliases.lang-js = true;
|
||||||
shell.bash.addBinToPath = true;
|
shell.bash.addBinToPath = true;
|
||||||
|
|
||||||
|
|||||||
@@ -104,8 +104,8 @@ in
|
|||||||
};
|
};
|
||||||
database.mssql.enable = true;
|
database.mssql.enable = true;
|
||||||
database.postgresql.enable = true;
|
database.postgresql.enable = true;
|
||||||
github.enable = true;
|
git.github.enable = true;
|
||||||
gitlab.enable = true;
|
git.gitlab.enable = true;
|
||||||
secrets.vault.enable = true;
|
secrets.vault.enable = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
options = {
|
options.git = {
|
||||||
github.enable = lib.mkEnableOption "Github CLI";
|
github.enable = lib.mkEnableOption "Github CLI";
|
||||||
gitlab.enable = lib.mkEnableOption "Gitlab CLI";
|
gitlab.enable = lib.mkEnableOption "Gitlab CLI";
|
||||||
};
|
};
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
".gitignore".source = dotsPath + "/.gitignore";
|
".gitignore".source = dotsPath + "/.gitignore";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gh.enable = config.github.enable;
|
programs.gh.enable = config.git.github.enable;
|
||||||
home.packages = lib.optionals config.gitlab.enable [ pkgs.glab ];
|
home.packages = lib.optionals config.git.gitlab.enable [ pkgs.glab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user