diff options
author | txtsd <thexerothermicsclerodermoid@gmail.com> | 2022-07-12 21:04:57 +0530 |
---|---|---|
committer | txtsd <thexerothermicsclerodermoid@gmail.com> | 2022-08-06 12:55:11 +0530 |
commit | fba20e2cfb2bcf10b9987f74a3d454b59b079fa6 (patch) | |
tree | 6367b31401ded7d76d4959d675b80798dc4408bb /nix | |
parent | 358f080c76dbdfc65f32e08448a5e38b78d2bab0 (diff) | |
download | PrismLauncher-fba20e2cfb2bcf10b9987f74a3d454b59b079fa6.tar.gz PrismLauncher-fba20e2cfb2bcf10b9987f74a3d454b59b079fa6.tar.bz2 PrismLauncher-fba20e2cfb2bcf10b9987f74a3d454b59b079fa6.zip |
chore(markdown): MD040 Fenced code blocks should have a language specified
Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
Diffstat (limited to 'nix')
-rw-r--r-- | nix/NIX.md | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -2,19 +2,21 @@ To import with flakes use ```nix -inputs = { - polymc.url = "github:PolyMC/PolyMC"; -}; +{ + inputs = { + polymc.url = "github:PolyMC/PolyMC"; + }; ... -nixpkgs.overlays = [ inputs.polymc.overlay ]; ## Within configuration.nix -environment.systemPackages = with pkgs; [ polymc ]; ## + nixpkgs.overlays = [ inputs.polymc.overlay ]; ## Within configuration.nix + environment.systemPackages = with pkgs; [ polymc ]; ## +} ``` 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 @@ -22,10 +24,12 @@ nix-env -iA polymc or alternatively you can use -``` -nixpkgs.overlays = [ - (import (builtins.fetchTarball "https://github.com/PolyMC/PolyMC/archive/develop.tar.gz")).overlay -]; +```nix +{ + nixpkgs.overlays = [ + (import (builtins.fetchTarball "https://github.com/PolyMC/PolyMC/archive/develop.tar.gz")).overlay + ]; -environment.systemPackages = with pkgs; [ polymc ]; + environment.systemPackages = with pkgs; [ polymc ]; +} ``` |