Coder Social home page Coder Social logo

dnkmmr69420 / nix-installer-scripts Goto Github PK

View Code? Open in Web Editor NEW
91.0 2.0 7.0 280 KB

Various scripts to install the nix package manager. Also has installers for selinux systems and silverblue too.

Shell 96.53% Makefile 2.05% Dockerfile 1.42%
installer installer-script installers nix shell-script shell-scripts selinux bash shell distrobox

nix-installer-scripts's Introduction

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.