Overlay : Use stable Nix & Nixos-Rebuild.

This commit is contained in:
Dmitry Voronin 2024-06-21 10:50:24 +03:00
parent c83c0b51ca
commit 96b648d44d
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

8
overlay/Nix.nix Normal file
View file

@ -0,0 +1,8 @@
# Use stable packages for Nix and Nixos-Rebuild.
{ pkgsStable, ... }: {
nixpkgs.overlays = [ (final: prev: {
nix = pkgsStable.nix;
nixos-rebuild = pkgsStable.nixos-rebuild;
})];
}