Signed-off-by: Samisafool <thenerdiestguy@gmail.com>
This commit is contained in:
Samisafool
2022-10-18 20:07:04 +05:30
parent ddf168c536
commit 8201d1df02
27 changed files with 89 additions and 89 deletions

View File

@ -5,22 +5,22 @@ To import with flakes use
```nix
{
inputs = {
polymc.url = "github:PolyMC/PolyMC";
prismlauncher.url = "github:PrismLauncher/PrismLauncher";
};
...
nixpkgs.overlays = [ inputs.polymc.overlay ]; ## Within configuration.nix
environment.systemPackages = with pkgs; [ polymc ]; ##
nixpkgs.overlays = [ inputs.prismlauncher.overlay ]; ## Within configuration.nix
environment.systemPackages = with pkgs; [ prismlauncher ]; ##
}
```
To import without flakes use channels:
```sh
nix-channel --add https://github.com/PolyMC/PolyMC/archive/master.tar.gz polymc
nix-channel --update polymc
nix-env -iA polymc
nix-channel --add https://github.com/PrismLauncher/PrismLauncher/archive/master.tar.gz prismlauncher
nix-channel --update prismlauncher
nix-env -iA prismlauncher
```
or alternatively you can use
@ -28,9 +28,9 @@ or alternatively you can use
```nix
{
nixpkgs.overlays = [
(import (builtins.fetchTarball "https://github.com/PolyMC/PolyMC/archive/develop.tar.gz")).overlay
(import (builtins.fetchTarball "https://github.com/PrismLauncher/PrismLauncher/archive/develop.tar.gz")).overlay
];
environment.systemPackages = with pkgs; [ polymc ];
environment.systemPackages = with pkgs; [ prismlauncher ];
}
```