nixos-config/modules/dev/vcs.nix

21 lines
364 B
Nix
Raw Normal View History

# All of the version control systems are here!
{ config, options, lib, pkgs, ... }:
with lib;
{
options.modules.dev.vcs = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.dev.vcs.enable {
my.packages = with pkgs; [
gitAndTools.gitFull
mercurial
subversion
];
};
}