nix-git/modules/nur-and-unstable.nix

26 lines
629 B
Nix
Raw Normal View History

2023-09-12 12:43:51 +02:00
{ config, pkgs, ... }:
{
# Import NUR.
#nixpkgs.config.packageOverrides = pkgs: {
# nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
# inherit pkgs;
# };
#};
nixpkgs.config.packageOverrides = pkgs: {
2023-10-20 14:57:34 +02:00
# Import NUR with niv.
2023-09-12 12:43:51 +02:00
nur = import (import ../nix/sources.nix).NUR {
inherit pkgs;
};
2023-10-20 14:57:34 +02:00
# Import unstable with niv.
unstable = import (import ../nix/sources.nix).unstable {
inherit pkgs;
};
2023-09-12 12:43:51 +02:00
};
# Test if NUR was imported successfully.
#environment.systemPackages = with pkgs; [
# nur.repos.mic92.hello-nur
#];
}