From ac8e402e8ec2d68ac080855561d7e2f85734788b Mon Sep 17 00:00:00 2001 From: Jacob Bachmann Date: Wed, 30 Aug 2023 19:38:41 +0200 Subject: [PATCH] feat: add git home config --- users/gandalf/modules/default.nix | 1 + users/gandalf/modules/git.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 users/gandalf/modules/git.nix diff --git a/users/gandalf/modules/default.nix b/users/gandalf/modules/default.nix index 84c9aa0..a2aded0 100644 --- a/users/gandalf/modules/default.nix +++ b/users/gandalf/modules/default.nix @@ -2,6 +2,7 @@ imports = [ ./alacritty.nix ./fzf.nix + ./git.nix ./gnupg.nix ./neovim.nix ./sway.nix diff --git a/users/gandalf/modules/git.nix b/users/gandalf/modules/git.nix new file mode 100644 index 0000000..3f2ead9 --- /dev/null +++ b/users/gandalf/modules/git.nix @@ -0,0 +1,12 @@ +{ ... }: { + programs.git = { + enable = true; + lfs.enable = true; + signing = { + signByDefault = true; + key = "732A612DAD28067D"; + }; + userEmail = "jacob.bachmann@posteo.de"; + userName = "Jacob Bachmann"; + }; +}