From 8ccef671d5be518b500aa83137ea5a39005f1bf1 Mon Sep 17 00:00:00 2001 From: cidkidnix Date: Sun, 9 Jan 2022 08:15:47 -0600 Subject: [PATCH] Update instructions --- packages/nix/NIX.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/nix/NIX.md b/packages/nix/NIX.md index 572c1d17..d11ffbb9 100644 --- a/packages/nix/NIX.md +++ b/packages/nix/NIX.md @@ -16,11 +16,13 @@ To import without flakes use channels: ``` sudo -i nix-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc sudo -i nix-channel --update polymc +nix-env -iA polymc ``` -add `` to imports in your `configuration.nix` -```nix -imports = [ - "/packages/nix/overlay.nix" -]; +or alternatively you can use + +``` +nixpkgs.overlays = [ + (import (builtins.fetchTarball "https://github.com/lourkeur/PolyMC/archive/develop.tar.gz")).overlay +] ``` \ No newline at end of file