refactor(modules): clean up folder structure
This commit is contained in:
parent
d8aa7f62b4
commit
03fca8b28b
12 changed files with 32 additions and 38 deletions
12
nix/modules/cli/git.nix
Normal file
12
nix/modules/cli/git.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
flake.modules.homeManager.default =
|
||||
{ manifest, config, ... }:
|
||||
{
|
||||
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
|
||||
programs.git = {
|
||||
userName = manifest.users.${config.home.username}.name;
|
||||
userEmail = manifest.users.${config.home.username}.email;
|
||||
signing.key = "~/.ssh/id_ed25519.pub";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue