17 lines
443 B
Nix
17 lines
443 B
Nix
{ config, ... }:
|
|
let
|
|
inherit (config.flake) manifest;
|
|
in
|
|
{
|
|
flake.modules.homeManager.default =
|
|
{ config, ... }:
|
|
{
|
|
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
|
|
programs.git = {
|
|
enable = true;
|
|
userName = manifest.users.${config.home.username}.name;
|
|
userEmail = manifest.users.${config.home.username}.email;
|
|
signing.key = "~/.ssh/id_ed25519.pub";
|
|
};
|
|
};
|
|
}
|