docs: nur and unstable

This commit is contained in:
Daniel Langbein 2023-10-24 10:02:30 +02:00
parent b2aad45646
commit 1308061f08
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# Import NUR. # How NUR (or unstable) can be imported without `niv`.
#nixpkgs.config.packageOverrides = pkgs: { #nixpkgs.config.packageOverrides = pkgs: {
# 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;
@ -18,8 +18,10 @@
}; };
}; };
# Test if NUR was imported successfully.
#environment.systemPackages = with pkgs; [ #environment.systemPackages = with pkgs; [
# # Example NUR usage:
# nur.repos.mic92.hello-nur # nur.repos.mic92.hello-nur
# # Example unstable usage:
# unstable.nano
#]; #];
} }