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
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
};
};
};