fix: shell vars

This commit is contained in:
TheGeneralist 2025-05-29 19:53:10 +02:00
parent 523aaff701
commit a86424bb64
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
7 changed files with 76 additions and 55 deletions

View file

@ -1,27 +1,33 @@
{
{ lib, pkgs, config, ... }: let
inherit (lib) optionalAttrs getExe;
in {
environment.systemPackages = with pkgs; [
gnupg
];
home-manager.sharedModules = [{
programs.git = {
enable = true;
userName = "TheGeneralist";
userEmail = "180094941+thegeneralist01@users.noreply.github.com";
lfs = {
programs = {
gpg.enable = true;
gh.enable = true;
gh-dash.enable = true;
git = {
enable = true;
};
extraConfig = {
commit.gpgSign = true;
tag.gpgSign = true;
gpg.format = "ssh";
user.signingKey = "~/.ssh/id_ed25519";
userName = "TheGeneralist";
userEmail = "180094941+thegeneralist01@users.noreply.github.com";
lfs = {
enable = true;
};
extraConfig = {
commit.gpgSign = true;
tag.gpgSign = true;
gpg.format = "ssh";
gpg.program = getExe pkgs.gnupg;
user.signingKey = "~/.ssh/id_ed25519";
};
};
};
programs.gh = {
enable = true;
};
programs.gh-dash = {
enable = true;
};
}];
}