From f4116061de06f032a2ee19f53ee3012737feff28 Mon Sep 17 00:00:00 2001 From: toufic ar Date: Fri, 15 May 2026 19:47:58 +0300 Subject: make git common --- common/default.nix | 1 + common/git.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 common/git.nix (limited to 'common') diff --git a/common/default.nix b/common/default.nix index fca1d03..ed96c7a 100644 --- a/common/default.nix +++ b/common/default.nix @@ -2,6 +2,7 @@ imports = [ ./disks.nix ./fail2ban.nix + ./git.nix ./hardware.nix ./mail.nix ./network.nix diff --git a/common/git.nix b/common/git.nix new file mode 100644 index 0000000..1522a78 --- /dev/null +++ b/common/git.nix @@ -0,0 +1,11 @@ +{ + programs.git = { + enable = true; + lfs.enable = true; + config = { + init = { + defaultBranch = "main"; + }; + }; + }; +} -- cgit v1.2.3