mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Packages + Overlays] Add unstable nix channel as an overlay in nixpkgs
This commit is contained in:
parent
b2db8a7ad7
commit
32318c2864
1 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.aviallon.overlays;
|
cfg = config.aviallon.overlays;
|
||||||
|
unstable = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") { config = config.nixpkgs.config; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.aviallon.overlays = {
|
options.aviallon.overlays = {
|
||||||
|
|
@ -22,6 +23,9 @@ in
|
||||||
|
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
inherit unstable;
|
||||||
|
})
|
||||||
# (self: super: {
|
# (self: super: {
|
||||||
# nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
# nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||||
# inherit pkgs;
|
# inherit pkgs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue