Skip to content

Commit

Permalink
feat(modules/homeManager/home/packages/gpt4all): add package
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Jun 10, 2024
1 parent 4cbac04 commit 6779ebb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions home_configurations/private/full/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ lib.dotfiles.homeManagerConfiguration.homeManagerConfiguration "full" {
glava.enable = true;
glow.enable = true;
gping.enable = true;
gpt4all.enable = true;
inkscape.enable = true;
kdenlive.enable = true;
killall.enable = true;
Expand Down
1 change: 1 addition & 0 deletions home_configurations/private/full/imports.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
../../../modules/homeManager/home/packages/glava
../../../modules/homeManager/home/packages/glow
../../../modules/homeManager/home/packages/gping
../../../modules/homeManager/home/packages/gpt4all
../../../modules/homeManager/home/packages/inkscape
../../../modules/homeManager/home/packages/kdenlive
../../../modules/homeManager/home/packages/killall
Expand Down
13 changes: 13 additions & 0 deletions modules/homeManager/home/packages/gpt4all/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
config,
lib,
pkgs,
...
}: {
options.dotfiles.homeManager.home.packages.gpt4all.enable =
lib.mkEnableOption "dotfiles.homeManager.home.packages.gpt4all";

config = lib.mkIf config.dotfiles.homeManager.home.packages.gpt4all.enable {
home.packages = [pkgs.gpt4all];
};
}

0 comments on commit 6779ebb

Please sign in to comment.