10 lines
333 B
Bash
Executable file
10 lines
333 B
Bash
Executable file
#!/bin/bash
|
|
|
|
NIX_INSTALLER_VERSION=2.34.6
|
|
NIX_INSTALLER_ARCHITECTURE=x86_64-linux
|
|
|
|
curl -sSfL https://github.com/NixOS/nix-installer/releases/download/${NIX_INSTALLER_VERSION}/nix-installer-${NIX_INSTALLER_ARCHITECTURE} -o nix-installer \
|
|
&& chmod +x nix-installer \
|
|
&& ./nix-installer install linux --enable-flakes --no-confirm
|
|
|
|
|