feat: add unstable nixpkgs overlay

This commit is contained in:
Julien Hémono 2024-08-07 19:01:00 +02:00
parent fcf66bf672
commit c4be4abdeb
4 changed files with 39 additions and 3 deletions

11
overlays/default.nix Normal file
View file

@ -0,0 +1,11 @@
# This file defines overlays
{inputs, ...}: {
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
system = final.system;
config.allowUnfree = true;
};
};
}