This commit is contained in:
Oliver Davies 2025-07-24 23:40:59 +01:00
parent eb516819fa
commit c77d7e4e55

View file

@ -1,15 +1,10 @@
{ config, ... }:
let
cfg = config;
in
{
flake.modules.homeManager.base =
{ config, ... }:
{
flake.modules.homeManager.base = hmArgs: {
programs.git = {
userName = cfg.flake.meta.owner.name;
userEmail = cfg.flake.meta.owner.email;
userName = config.flake.meta.owner.name;
userEmail = config.flake.meta.owner.email;
extraConfig = {
branch = {
@ -21,7 +16,7 @@ in
checkout.defaultRemote = "origin";
color.ui = true;
column.ui = "auto";
commit.template = "${config.xdg.configHome}/git/message";
commit.template = "${hmArgs.config.xdg.configHome}/git/message";
core = {
editor = "nvim";