summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/default.nix1
-rw-r--r--common/git.nix11
2 files changed, 12 insertions, 0 deletions
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";
+ };
+ };
+ };
+}