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