diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-04-24 19:56:27 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-04-24 19:56:27 -0700 |
| commit | ddfc6cef59f47d6e3713acae619dda1ca4740ed0 (patch) | |
| tree | bcc7e1a1cbb2bebc4c03ab596adf340f0fca3bdf /nix/lib/mkSystem.nix | |
| parent | add more shell aliases for nix commands (diff) | |
| download | infra-ddfc6cef59f47d6e3713acae619dda1ca4740ed0.tar.gz | |
build python packages for llm
To get a more recent version of the llm python tool and the anthropic
module, we need to build the packages ourselves.
Refactor how we're building overlays to make it easier to add new
packages using the `pkgsUnstable` set.
Diffstat (limited to '')
| -rw-r--r-- | nix/lib/mkSystem.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nix/lib/mkSystem.nix b/nix/lib/mkSystem.nix index b0f17ee..9cc504b 100644 --- a/nix/lib/mkSystem.nix +++ b/nix/lib/mkSystem.nix @@ -1,6 +1,10 @@ # This function creates a NixOS system based on our VM setup for a # particular architecture. -{ nixpkgs, inputs }: +{ + nixpkgs, + inputs, + overlays, +}: name: { @@ -27,6 +31,9 @@ systemFunc rec { # Allow unfree packages. { nixpkgs.config.allowUnfree = true; } + # Add overlays + { nixpkgs.overlays = overlays; } + machineConfig userOSConfig home-manager.home-manager |
