Home

Awesome

This repo is now archived. Use Determinate Systems Nix Installer instead.

nix-installer-scripts

Various scripts to install the nix package manager

This may break if something other than bash is not the default login shell so have bash be the default shell. It will be better to make a profile on your terminal application and have a different shell instance that way. If the commands itself give some sort of error, use bash as a shell. Type bash into the terminal to get to bash.

Read This

Installers

Regular installer for non-selinux systems

curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/installer-scripts/regular-installer.sh | bash

Installer for selinux systems that aren't immutable (Fedora workstation, RHEL, centos stream, rocky alma or oracle linux)

curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/installer-scripts/regular-nix-installer-selinux.sh | bash

Installer for rpm-ostree based systems like silverblue/kinoite/ublue

curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/installer-scripts/silverblue-nix-installer.sh | bash

Installer for opensuse microos

first run this

sudo transactional-update run mksubvolume /nix

Reboot

Then run the script

curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/installer-scripts/nix-microos-installer.sh | bash

Void linux installer

First check if curl is installed

sudo xbps-install -S curl

use the bash shell

bash

Install nix

curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/installer-scripts/nix-void-linux-installer.sh | bash

Nix inside distrobox installer and setup

Uninstallers

Regular uninstaller for both non-selinux and selinux muttable systems

curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/uninstaller-scripts/regular-uninstaller.sh | bash

Silverblue nix uninstaller

curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/uninstaller-scripts/silverblue-nix-uninstaller.sh | bash

Other useful docs

Extra Scripts

Nix with selinux manual install guide

Old github repos that this repo has replaced list

Compile from source

Common Issues

Some useful nix tools

Fleek: Github-page Website

Nix Portable: Main-Page My-nix-portable-utilities

Devbox: Website Github

Shorten link

https://tinyurl.com/nxscrpts