nixos-config/modules/dev/vcs.nix
Gabriel Arazas ef12c29f36 Update the Nix config
A bunch of minor updates here, a bunch of minor changes there.
All of the Nix changes is here for all the world to see.
2020-10-07 06:56:04 +08:00

21 lines
364 B
Nix
Executable File

# 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
];
};
}