From 1dd1b59d79da09ec0b5f83ddb0d93304deea6162 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 14 Jan 2026 21:18:19 +0100 Subject: [PATCH] Fix import of unstable packages --- flake.nix | 4 ++-- instances/thor/configuration.nix | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 2713963..a6cd396 100644 --- a/flake.nix +++ b/flake.nix @@ -272,8 +272,8 @@ useGlobalPkgs = true; # Use system packages globally useUserPackages = true; # Install packages to user profile extraSpecialArgs = { - stable = inputs.nixpkgs-s.legacyPackages.${config.nixpkgs.system}; # Pass stable channel to home-manager - unstable = inputs.nixpkgs-u.legacyPackages.${config.nixpkgs.system}; # Pass unstable channel to home-manager + stable = import inputs.nixpkgs-s { inherit (config.nixpkgs) system; }; # Pass stable channel to home-manager + unstable = import inputs.nixpkgs-u { inherit (config.nixpkgs) system; }; # Pass unstable channel to home-manager }; }; }; diff --git a/instances/thor/configuration.nix b/instances/thor/configuration.nix index b5f0a51..3d2c639 100644 --- a/instances/thor/configuration.nix +++ b/instances/thor/configuration.nix @@ -1,6 +1,7 @@ { lib , config , pkgs +, unstable , ... }: { @@ -213,6 +214,7 @@ }; # joycond.enable = true; keybase.enable = true; + ollama.package = unstable.ollama-vulkan; openssh = { enable = true; openFirewall = true;