From 8ceebbdb53ea5c67310a5281c30f53c9cf504d70 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 25 Oct 2024 02:10:20 -0400 Subject: Use newer ollama in system service Ollama releases often, and nixos-24.05 has a very old version, it was preventing me from doing work. Here I'm putting the newer nixos unstable as an overlay into the 24.05 version so I can backpull versions as needed. --- Biz/Bild/Nixpkgs.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Biz/Bild/Nixpkgs.nix') diff --git a/Biz/Bild/Nixpkgs.nix b/Biz/Bild/Nixpkgs.nix index d53a125..212e3f1 100644 --- a/Biz/Bild/Nixpkgs.nix +++ b/Biz/Bild/Nixpkgs.nix @@ -24,13 +24,20 @@ let (import ./Python.nix) (import ./Haskell.nix) ]; -in { - nixos-24_05 = import sources.nixos-24_05 { - inherit system config overlays; - - }; nixos-unstable-small = import sources.nixos-unstable-small { inherit system config overlays; }; +in { + nixos-24_05 = import sources.nixos-24_05 { + inherit system config; + overlays = overlays ++ [ + (_: _: { + # backport newer packages from unstable + unstable = nixos-unstable-small.pkgs; + }) + ]; + }; + + inherit nixos-unstable-small; } -- cgit v1.2.3