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