refactor(homeModules/cli): idomaticity

This commit is contained in:
Mohammad Rafiq 2025-05-20 12:25:29 +08:00
parent feff604e8f
commit 84bacb23f0
No known key found for this signature in database
7 changed files with 22 additions and 25 deletions

View file

@ -0,0 +1,3 @@
{
imports = [ ./git.nix ];
}

View file

@ -1,11 +1,5 @@
{lib,config,...}:
{
options.cli.git = {
name = lib.pantheon.mkStrOption;
email = lib.pantheon.mkStrOption;
defaultBranch = lib.pantheon.mkStrOption;
};
config = {
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
home.shellAliases = {