Move Git addon programs to home-manager

This commit is contained in:
Jimbo 2025-02-25 01:09:57 -05:00
parent c083874930
commit 258ddad76d
3 changed files with 7 additions and 9 deletions

View file

@ -1,10 +1,15 @@
{ pkgs, config, ... }:
{ config, pkgs, ... }:
{
programs.git = {
enable = true;
userName = "Jimbo";
userEmail = "jimbo@${config.domains.p2}";
};
programs.lazygit.enable = true;
home.packages = with pkgs; [
gnupg
git-crypt
];
}

View file

@ -1,7 +1,5 @@
{ ... }:
{
imports = [ ./gpg ];
programs.git = {
enable = true;
lfs.enable = true;

View file

@ -1,5 +0,0 @@
{ pkgs, ... }:
{
programs.gnupg.agent.enable = true;
environment.systemPackages = with pkgs; [ git-crypt ];
}