Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

cig0/nix-with-selinux

 
 

Repository files navigation

Nix package manager on Fedora with selinux enabled

Use my New Repo

I moved all of my nix stuff to This

This page is for the nix selinux installers. Click here to go to the main page. The regular installer makes a backup of the default of nix in /opt/nb just like the installers here. There are commands to run the nix with selinux installers on the main nix installers page too

(also works for RHEL and its clones too)

Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.

This is my modified version of the documentation here

These steps may not be required if NixOS/nix#2374 is resolved.

When this happens sucessfully for your, report it to Issues as a successfull test

When this fails for you, report it as a bug.

Want to improve this documentation, submit a request

Install Scripts

Copy and paste the correct installer for your linux distro into the terminal to install

Regular installer for mutable linux with selinux

wget https://raw.githubusercontent.com/dnkmmr69420/nix-with-selinux/main/regular-installer.sh && chmod a+x ./regular-installer.sh && ./regular-installer.sh ; rm ./regular-installer.sh

Nix installer for silverblue

wget https://raw.githubusercontent.com/dnkmmr69420/nix-with-selinux/main/silverblue-installer.sh && chmod a+x ./silverblue-installer.sh && ./silverblue-installer.sh ; rm ./silverblue-installer.sh

Ublue nix installer Currently doesn't work

This installer is a modified version of mine and it is meant for ublue's bluefin but should run fine on regular silverblue and other ublue spins.

DON'T USE THIS AT THE MOMENT SINCE IT CURRENTLY DOES NOT WORK. You are welcome to test it but do it in a vm.

wget https://raw.githubusercontent.com/ublue-os/bluefin/main/usr/bin/ublue-nix-install && chmod a+x ./ublue-nix-install && ./ublue-nix-install ; rm ./ublue-nix-install

thanks castrojo

I gave it its own readme to make this guide less cluttered. Click on the link above to take you to that page.

Want to uninstall nix? I made uninstallers for it here.

Other stuff

Nix graphical icons

nix graphical icons

It has its own guide

Single User

add this to the end of ~/.bashrc

XDG_DATA_DIRS="$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share:$XDG_DATA_DIRS"

Multiuser

type this command

sudo wget -P /etc/profile.d https://raw.githubusercontent.com/dnkmmr69420/nix-installers/main/nix-app-icons.sh

About

this project has moved to a new repo. click the link below

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%