App script and a bit of README

This commit is contained in:
polygon 2023-05-07 16:14:41 +02:00
parent cc4e4f66b5
commit 7a4d2aca2d
2 changed files with 14 additions and 0 deletions

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# gpt4all-nix
A Nix flake for gpt4all chat client: https://github.com/nomic-ai/gpt4all-chat
## Running
```
nix run github:polygon/gpt4all-nix
```

View File

@ -19,5 +19,10 @@
gpt4all-chat = pkgs.qt6Packages.callPackage ./gpt4all-chat.nix { src=gpt4all-chat; };
default = self.packages.${system}.gpt4all-chat;
};
apps.${system}.default = {
type = "app";
program = "${self.packages.${system}.gpt4all-chat}/bin/chat";
};
};
}