Fix invalid Home Manager git options
Replace config.user.{name,email} with userName/userEmail and settings.alias with aliases.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018D8GH3ssjrRwCLuwXMxsBE
This commit is contained in:
parent
e5e24c7976
commit
68b9ec4a18
1 changed files with 9 additions and 11 deletions
20
home.nix
20
home.nix
|
|
@ -123,18 +123,16 @@
|
||||||
#############################################################################
|
#############################################################################
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.user = {
|
userName = "Leo Alho";
|
||||||
name = "Leo Alho";
|
userEmail = "leoalho@proton.me";
|
||||||
email = "leoalho@proton.me";
|
|
||||||
};
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
settings.alias = {
|
aliases = {
|
||||||
co = "checkout";
|
co = "checkout";
|
||||||
br = "branch";
|
br = "branch";
|
||||||
c = "commit";
|
c = "commit";
|
||||||
a = "add";
|
a = "add";
|
||||||
p = "push";
|
p = "push";
|
||||||
st = "status";
|
st = "status";
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue