merged modularity from main branch

This commit is contained in:
Bryan Ramos 2024-02-28 21:08:14 -05:00
commit b126c84401
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
20 changed files with 70 additions and 78 deletions

View file

@ -1,10 +1,10 @@
{ lib, pkgs, config, ... }:
with lib;
let cfg = config.modules.git;
let cfg = config.modules.user.git;
in
{ options.modules.git = { enable = mkEnableOption "git"; };
{ options.modules.user.git = { enable = mkEnableOption "user.git"; };
config = mkIf cfg.enable {
programs = {
git = {