mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
25 lines
385 B
Nix
Executable File
25 lines
385 B
Nix
Executable File
# All of the version control systems are here!
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.modules.dev.vcs;
|
|
in
|
|
{
|
|
options.modules.dev.vcs = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
my.packages = with pkgs; [
|
|
gitAndTools.gitFull
|
|
mercurial
|
|
subversion
|
|
];
|
|
};
|
|
}
|