Don't import channel as root, import channel as user

Co-authored-by: Louis Bettens <lourkeur@users.noreply.github.com>
This commit is contained in:
cidkid 2022-01-09 08:35:52 -06:00 committed by GitHub
parent fe9ce7a329
commit 0ce1b68261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@ environment.systemPackages = with pkgs; [ polymc ]; ##
To import without flakes use channels: To import without flakes use channels:
``` ```
sudo -i nix-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc nix-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc
sudo -i nix-channel --update polymc nix-channel --update polymc
nix-env -iA polymc nix-env -iA polymc
``` ```