File tree Expand file tree Collapse file tree 3 files changed +21
-48
lines changed Expand file tree Collapse file tree 3 files changed +21
-48
lines changed Original file line number Diff line number Diff line change 10
10
11
11
agenix . url = "github:ryantm/agenix" ;
12
12
agenix . inputs . nixpkgs . follows = "nixpkgs" ;
13
- agenix . inputs . darwin . follows = "empty " ;
13
+ agenix . inputs . darwin . follows = "nix-darwin " ;
14
14
agenix . inputs . home-manager . follows = "empty" ;
15
15
16
16
fh . url = "https://flakehub.com/f/DeterminateSystems/fh/*.tar.gz" ;
17
17
fh . inputs . nixpkgs . follows = "nixpkgs" ;
18
18
19
- llama-cpp . url = "github:ggerganov /llama.cpp" ;
19
+ llama-cpp . url = "github:philiptaron /llama.cpp/nix " ;
20
20
llama-cpp . inputs . nixpkgs . follows = "nixpkgs" ;
21
21
22
22
nix-darwin . url = "github:LnL7/nix-darwin" ;
32
32
agenix = inputs . agenix . overlays . default ;
33
33
fh = inputs . fh . overlays . default ;
34
34
nurl = inputs . nurl . overlays . default ;
35
+ llama-cpp = inputs . llama-cpp . overlays . default ;
35
36
} ;
36
37
mkConfig = system : {
37
38
inherit system ;
Original file line number Diff line number Diff line change 158
158
159
159
# `nurl` generates Nix fetcher calls from repository URLs
160
160
nurl
161
+
162
+ # `llama-cpp` is a set of programs for running LLMs locally
163
+ ( llama-cpp-cuda . override {
164
+ cudaPackages = pkgs . cudaPackages_12_3 ;
165
+ } )
161
166
] ;
162
167
163
168
users . users . philip . packages = with pkgs ; [
You can’t perform that action at this time.
0 commit comments