nixos-config/modules/dev/vcs.nix
Gabriel Arazas d01e597918 Restructured the project setup
I've also added a little module for version control systems now that I'm finding myself often packaging software.
2020-09-06 04:50:16 +08:00

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