add nixpkgs.nix

This commit is contained in:
do butterflies cry? 2026-02-13 19:29:45 +10:00
parent 42f80cd9f2
commit 02251bd750
3 changed files with 57 additions and 39 deletions

27
nixpkgs.nix Normal file
View file

@ -0,0 +1,27 @@
{
root,
inputs,
...
}: {
nixpkgs.channels.default = {
# nixpkgs (stable branch)
pkgs = {
source = inputs.nixpkgs;
overlays =
[inputs.dobutterfliescry-net.overlays.default]
++ import (root + "/overlays");
config = {
allowUnfree = false;
allowBroken = false;
};
};
# nixpkgs-unstable
upkgs = {
source = inputs.nixpkgs-unstable;
config = {
allowUnfree = false;
allowBroken = false;
};
};
};
}