mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
ef12c29f36
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.
21 lines
364 B
Nix
Executable File
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
|
|
];
|
|
};
|
|
}
|