initial commit
This commit is contained in:
commit
813b424831
13 changed files with 171 additions and 0 deletions
15
modules/git.nix
Normal file
15
modules/git.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{config, pkgs, lib, ...}:
|
||||
|
||||
|
||||
let
|
||||
cfg = config.modules.git;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
modules.git.enable = lib.mkEnableOption "Enable git";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.git.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue