diff --git a/home.nix b/home.nix index 2a91203..ccbba96 100644 --- a/home.nix +++ b/home.nix @@ -31,8 +31,19 @@ 0=Default ''; - # 以后你的 niri、KDE 等 dotfiles 配置都可以通过这种方式管理 - # home.file.".config/niri/config.kdl".source = ./niri-config.kdl; + programs.git = { + enable = true; + + settings = { + user = { + name = "Aloys23"; + email = "aloys233@gmail.com"; + }; + + init.defaultBranch = "main"; + pull.rebase = false; + }; + }; # 这个版本号不要改!它不是软件版本,而是系统状态标识 home.stateVersion = "23.11";