diff --git a/yodaTab/git.home.nix b/yodaTab/git.home.nix new file mode 100644 index 0000000..e76b294 --- /dev/null +++ b/yodaTab/git.home.nix @@ -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"; + }; + }; + + }; +} diff --git a/yodaTab/home-manager.nix b/yodaTab/home-manager.nix index 2d5ff40..78083c9 100644 --- a/yodaTab/home-manager.nix +++ b/yodaTab/home-manager.nix @@ -6,6 +6,7 @@ in { imports = [ (import "${home-manager}/nixos") + ./git.home.nix ]; /* Enable home-manager to configure GNOME */ @@ -20,16 +21,6 @@ in #home.username = "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 = { # enable = true;