Fix import of unstable packages

This commit is contained in:
Filippo Berto 2026-01-14 21:18:19 +01:00
parent 1ce311de0d
commit 1dd1b59d79
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 4 additions and 2 deletions

View file

@ -272,8 +272,8 @@
useGlobalPkgs = true; # Use system packages globally useGlobalPkgs = true; # Use system packages globally
useUserPackages = true; # Install packages to user profile useUserPackages = true; # Install packages to user profile
extraSpecialArgs = { extraSpecialArgs = {
stable = inputs.nixpkgs-s.legacyPackages.${config.nixpkgs.system}; # Pass stable channel to home-manager stable = import inputs.nixpkgs-s { inherit (config.nixpkgs) system; }; # Pass stable channel to home-manager
unstable = inputs.nixpkgs-u.legacyPackages.${config.nixpkgs.system}; # Pass unstable channel to home-manager unstable = import inputs.nixpkgs-u { inherit (config.nixpkgs) system; }; # Pass unstable channel to home-manager
}; };
}; };
}; };

View file

@ -1,6 +1,7 @@
{ lib { lib
, config , config
, pkgs , pkgs
, unstable
, ... , ...
}: }:
{ {
@ -213,6 +214,7 @@
}; };
# joycond.enable = true; # joycond.enable = true;
keybase.enable = true; keybase.enable = true;
ollama.package = unstable.ollama-vulkan;
openssh = { openssh = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;