seperate git bash logic

This commit is contained in:
Bryan Ramos 2024-05-11 14:29:50 -04:00
parent 24401dfd63
commit 354e765844
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
4 changed files with 33 additions and 28 deletions

View file

@ -1,7 +1,9 @@
{ lib, pkgs, config, ... }:
with lib;
let cfg = config.modules.user.git;
let
cfg = config.modules.user.git;
bash = config.modules.user.bash;
in
{ options.modules.user.git = { enable = mkEnableOption "user.git"; };
@ -19,5 +21,9 @@ in
home.packages = with pkgs; [
git-crypt
];
programs.bash.initExtra = mkAfter ''
${import ./config/cdg.nix}
'';
};
}