Refactor
This commit is contained in:
parent
eb516819fa
commit
c77d7e4e55
1 changed files with 51 additions and 56 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue