mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-25 02:56:05 +01:00
28 lines
703 B
Nix
28 lines
703 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
# How NUR (or unstable) can be imported without `niv`.
|
|
#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;
|
|
};
|
|
};
|
|
|
|
#environment.systemPackages = with pkgs; [
|
|
# # Example NUR usage:
|
|
# nur.repos.mic92.hello-nur
|
|
# # Example unstable usage:
|
|
# unstable.nano
|
|
#];
|
|
}
|