a bunch of code cleanup

This commit is contained in:
Gerg-L 2023-04-22 01:57:28 -04:00
parent 977d1ad6d2
commit 016a347d5e
19 changed files with 92 additions and 100 deletions

View file

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