mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:48:12 +09:00
21 lines
335 B
Nix
21 lines
335 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.applications.git.system;
|
|
in
|
|
{
|
|
options.my.applications.git.system = {
|
|
enable = lib.mkEnableOption "git system configuration";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
git # Distributed version control system
|
|
];
|
|
};
|
|
}
|