From 791bc419b6dac7c70951981ef6b34cdf85828470 Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 20 Dec 2025 03:14:45 +0100 Subject: absolutely massive rewrite, made (almost) everything modular with changes to come --- hm/conf/git.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hm/conf/git.nix (limited to 'hm/conf/git.nix') diff --git a/hm/conf/git.nix b/hm/conf/git.nix new file mode 100644 index 0000000..f6a7267 --- /dev/null +++ b/hm/conf/git.nix @@ -0,0 +1,18 @@ +{ config, lib, ... }: +let + cfg = config.szpont.hm.conf.git; +in +{ + options.szpont.hm.conf.git.enable = lib.mkEnableOption "enables git vcs"; + + config = lib.mkIf cfg.enable { + programs.git = { + enable = true; + settings = { + user.name = "adikro"; + user.email = "adikro@disroot.org"; + init.defaultBranch = "main"; + }; + }; + }; +} -- cgit v1.3