flake: Pass stable and unstable as special args

This commit is contained in:
Filippo Berto 2026-01-05 13:12:14 +01:00
parent 2e86610f0f
commit 3a4d1c46bc
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC

View file

@ -267,13 +267,13 @@
};
# Home Manager configuration module
homeManagerModules = {
homeManagerModules = { config, ... }: {
home-manager = {
useGlobalPkgs = true; # Use system packages globally
useUserPackages = true; # Install packages to user profile
extraSpecialArgs = {
stable = inputs.nixpkgs-s; # Pass stable channel to home-manager
unstable = inputs.nixpkgs-u; # Pass unstable channel to home-manager
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
};
};
};