Added working example

This commit is contained in:
2026-03-21 20:01:50 +00:00
parent 73284fa1da
commit 8ab9d28526
25 changed files with 1493 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
{ ... }:
{
flake.nixosModules.git = { config, lib, pkgs, ... }:
let
cfg = config.mySystem.apps.git;
in {
options.mySystem.apps.git.enable = lib.mkEnableOption "Git";
config = lib.mkIf cfg.enable {
programs.git.enable = true;
home-manager.users.shonh.programs.git = {
enable = true;
settings.user = {
name = "Shonhh";
email = "endinja.versitile@gmail.com";
};
};
};
};
}