mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
Added git hm module
This commit is contained in:
parent
c678a871b3
commit
42cd7bb365
5 changed files with 27 additions and 7 deletions
18
home-manager-modules/git/default.nix
Normal file
18
home-manager-modules/git/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.luj.programs.git;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
options.luj.programs.git = {
|
||||
enable = mkEnableOption "Enable git program";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Julien Malka";
|
||||
userEmail = "julien.malka@me.com";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue