mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
21 lines
348 B
Nix
21 lines
348 B
Nix
|
# 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; [
|
||
|
git
|
||
|
mercurial
|
||
|
subversion
|
||
|
];
|
||
|
};
|
||
|
}
|