From 03548606e4f8dc1c94d7961e56db408a43d747aa Mon Sep 17 00:00:00 2001 From: aloslider <53711835+aloslider@users.noreply.github.com> Date: Sat, 14 Mar 2026 16:16:20 +0300 Subject: [PATCH] Add git module --- home-manager.nix | 3 +++ modules/home/default.nix | 5 +++++ modules/home/git.nix | 12 ++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 modules/home/default.nix create mode 100644 modules/home/git.nix diff --git a/home-manager.nix b/home-manager.nix index 3b80634..ea907d0 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -5,6 +5,9 @@ }; home-manager = { + imports = [ + ./modules/home + ]; useGlobalPkgs = true; useUserPackages = true; users.benq = { pkgs, ... }: { diff --git a/modules/home/default.nix b/modules/home/default.nix new file mode 100644 index 0000000..fb81c68 --- /dev/null +++ b/modules/home/default.nix @@ -0,0 +1,5 @@ +{ config, ... }: { + imports = [ + ./git.nix + ]; +} diff --git a/modules/home/git.nix b/modules/home/git.nix new file mode 100644 index 0000000..9b52419 --- /dev/null +++ b/modules/home/git.nix @@ -0,0 +1,12 @@ +{ config, ... }: { + programs.git = { + enable = true; + settings = { + user = { + name = "aloslider"; + email = "53711835+aloslider@users.noreply.github.com"; + }; + init.defaultBranch = "master"; + }; + }; +}