mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-22 22:09:34 +01:00
26 lines
629 B
Nix
26 lines
629 B
Nix
{ 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: {
|
|
# Import NUR with niv.
|
|
nur = import (import ../nix/sources.nix).NUR {
|
|
inherit pkgs;
|
|
};
|
|
# Import unstable with niv.
|
|
unstable = import (import ../nix/sources.nix).unstable {
|
|
inherit pkgs;
|
|
};
|
|
};
|
|
|
|
# Test if NUR was imported successfully.
|
|
#environment.systemPackages = with pkgs; [
|
|
# nur.repos.mic92.hello-nur
|
|
#];
|
|
}
|