cleaned up a whole bunch

This commit is contained in:
Gerg-L 2023-05-25 22:58:18 -04:00
parent 2f04dc0e23
commit a959cf3e97
17 changed files with 199 additions and 220 deletions

View file

@ -3,16 +3,13 @@
config,
lib,
...
}: let
cfg = config.localModules.git;
in {
options.localModules.git = {
disable = lib.mkOption {
type = lib.types.bool;
default = false;
};
}: {
options.localModules.git.disable = lib.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf (! cfg.disable) {
config = lib.mkIf (! config.localModules.git.disable) {
programs.git = {
enable = true;
package = pkgs.gitMinimal;