NixOS-Config/home-manager/tuiapps/git.nix

16 lines
293 B
Nix

{pkgs, ...}: {
# Enable git and config
programs.git = let
secrets = import ../../nixos/modules/secrets.nix;
in {
enable = true;
lfs.enable = true;
userName = secrets.jimUsername;
userEmail = secrets.jimEmail;
};
home.packages = with pkgs; [
git-crypt
];
}