Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnkmmr69420/nix-installer-scripts
Various scripts to install the nix package manager. Also has installers for selinux systems and silverblue too.
https://github.com/dnkmmr69420/nix-installer-scripts
bash distrobox immutability immutable installer installer-script installers linux microos nix selinux shell shell-script shell-scripts silverblue
Last synced: 3 months ago
JSON representation
Various scripts to install the nix package manager. Also has installers for selinux systems and silverblue too.
- Host: GitHub
- URL: https://github.com/dnkmmr69420/nix-installer-scripts
- Owner: dnkmmr69420
- Archived: true
- Created: 2023-04-16T16:55:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T13:35:06.000Z (about 1 year ago)
- Last Synced: 2024-06-25T16:57:15.431Z (5 months ago)
- Topics: bash, distrobox, immutability, immutable, installer, installer-script, installers, linux, microos, nix, selinux, shell, shell-script, shell-scripts, silverblue
- Language: Shell
- Homepage:
- Size: 273 KB
- Stars: 89
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nix - nix-installer-scripts - Runs the official installer but does some tweaking as well such as adding fcontext for selinux and installing nix outside of the default profile so you don't accidently uninstall it. (Installation Media / Discovery)
README
# This repo is now archived. Use [Determinate Systems Nix Installer](https://github.com/DeterminateSystems/nix-installer) instead.
# nix-installer-scripts
Various scripts to install the nix package managerThis 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](https://github.com/dnkmmr69420/nix-installer-scripts/tree/main/nix-out-of-default)
## Installers
### Regular installer for non-selinux systems
```bash
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)
```bash
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
```bash
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
```bash
sudo transactional-update run mksubvolume /nix
```Reboot
Then run the script
```bash
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
```bash
sudo xbps-install -S curl
```
use the bash shell```bash
bash
```Install nix
```bash
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](https://github.com/dnkmmr69420/nix-installer-scripts/tree/main/nix-distrobox)
## Uninstallers
### Regular uninstaller for both non-selinux and selinux muttable systems
```bash
curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/uninstaller-scripts/regular-uninstaller.sh | bash
```### Silverblue nix uninstaller
```bash
curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/uninstaller-scripts/silverblue-nix-uninstaller.sh | bash
```## Other useful docs
[Extra Scripts](https://github.com/dnkmmr69420/nix-installer-scripts/blob/main/docs/extra-scripts.md)
[Nix with selinux manual install guide](https://github.com/dnkmmr69420/nix-installer-scripts/blob/main/docs/selinux-nix-manual-install-guide.md)
[Old github repos that this repo has replaced list](https://github.com/dnkmmr69420/nix-installer-scripts/blob/main/docs/my-old-nix-github-repos.md)
[Compile from source](https://github.com/dnkmmr69420/nix-installer-scripts/blob/main/docs/compile-from-source.md)
[Common Issues](https://github.com/dnkmmr69420/nix-installer-scripts/blob/main/docs/common-issues.md)
## Some useful nix tools
Fleek: [Github-page](https://github.com/ublue-os/fleek) [Website](https://getfleek.dev/)
Nix Portable: [Main-Page](https://github.com/DavHau/nix-portable) [My-nix-portable-utilities](https://github.com/dnkmmr69420/nix-portable-utils)
Devbox: [Website](https://www.jetpack.io/devbox) [Github](https://github.com/jetpack-io/devbox)
## Shorten link
https://tinyurl.com/nxscrpts