Update instructions

This commit is contained in:
cidkidnix 2022-01-09 08:15:47 -06:00
parent 72656d41df
commit 8ccef671d5

View File

@ -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 --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc
sudo -i nix-channel --update polymc sudo -i nix-channel --update polymc
nix-env -iA polymc
``` ```
add `<polymc>` to imports in your `configuration.nix`
```nix or alternatively you can use
imports = [
"<polymc>/packages/nix/overlay.nix" ```
]; nixpkgs.overlays = [
(import (builtins.fetchTarball "https://github.com/lourkeur/PolyMC/archive/develop.tar.gz")).overlay
]
``` ```