Hello,
I have a very stupid question, stupid enough to not find any simple answer during my research. How to get unstable branch of packages ? I use flake and I have the following :
{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ self, nixpkgs, ... }@inputs:
{
nixosConfigurations = {
inspiron = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
};
system = "x86_64-linux";
modules = [
./hosts/inspiron/configuration.nix
inputs.home-manager.nixosModules.home-manager
inputs.stylix.nixosModules.stylix
inputs.nix-flatpak.nixosModules.nix-flatpak
];
};
};
};
}
(with some input and configuration removed for simplicity)
But I saw that my packages installed with home-manager or nixos, are older than unstable. In my home.nix I have home.stateVersion = "24.05";
I don’t understand because nixpkgs.url is set to unstable and home-manager follows it.
But for example, I have NixOS Search in 5.17 and 5.18.
Did I do something wrong ? How am I supposed to update my packages to stay on last possible version ?