mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
seperate git bash logic
This commit is contained in:
parent
24401dfd63
commit
354e765844
4 changed files with 33 additions and 28 deletions
|
|
@ -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}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue