refactor git

This commit is contained in:
Daniel Langbein 2023-08-31 14:02:30 +02:00
parent 6f579255fd
commit 67f39294de
2 changed files with 18 additions and 10 deletions

17
yodaTab/git.home.nix Normal file
View File

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
home-manager.users.yoda = {
# Git config using Home Manager modules
programs.git = {
enable = true;
userName = "Daniel Langbein";
userEmail = "daniel@systemli.org";
aliases = {
#st = "status";
};
};
};
}

View File

@ -6,6 +6,7 @@ in
{ {
imports = [ imports = [
(import "${home-manager}/nixos") (import "${home-manager}/nixos")
./git.home.nix
]; ];
/* Enable home-manager to configure GNOME */ /* Enable home-manager to configure GNOME */
@ -21,16 +22,6 @@ in
#home.username = "yoda"; #home.username = "yoda";
#home.homeDirectory = "/home/yoda"; #home.homeDirectory = "/home/yoda";
# Git config using Home Manager modules
programs.git = {
enable = true;
userName = "Daniel Langbein";
userEmail = "daniel@systemli.org";
aliases = {
#st = "status";
};
};
#services.gpg-agent = { #services.gpg-agent = {
# enable = true; # enable = true;
# enableSshSupport = true; # enableSshSupport = true;