add nixpkgs.nix
This commit is contained in:
parent
42f80cd9f2
commit
02251bd750
3 changed files with 57 additions and 39 deletions
27
nixpkgs.nix
Normal file
27
nixpkgs.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue