From 0ce1b68261d70a8e6009335c59442d4d3508ac65 Mon Sep 17 00:00:00 2001 From: cidkid <67574902+cidkidnix@users.noreply.github.com> Date: Sun, 9 Jan 2022 08:35:52 -0600 Subject: [PATCH] Don't import channel as root, import channel as user Co-authored-by: Louis Bettens --- packages/nix/NIX.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nix/NIX.md b/packages/nix/NIX.md index 1d276928..d9a8a884 100644 --- a/packages/nix/NIX.md +++ b/packages/nix/NIX.md @@ -15,8 +15,8 @@ environment.systemPackages = with pkgs; [ polymc ]; ## 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-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc +nix-channel --update polymc nix-env -iA polymc ```