PrismLauncher/packages/nix/NIX.md
2022-01-08 09:28:37 -06:00

478 B

How to import

To import with flakes use

inputs = {
  polymc.url = "github:PolyMC/PolyMC";
};

...

nixpkgs.overlays = [ inputs.polymc.overlay ]; ## Within configuration.nix

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

add <polymc> to imports in your configuration.nix

imports = [
  "<polymc>/packages/nix/overlay.nix"
];