nix-user-chroot
nix-installers
nix-user-chroot | nix-installers | |
---|---|---|
5 | 5 | |
263 | 82 | |
3.4% | - | |
0.0 | 6.6 | |
11 months ago | 8 days ago | |
Rust | Nix | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nix-user-chroot
- is it possible to install the nix package manager with no root privleges?
-
Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
> There are workarounds but none of them official.
But does it need to be official? Wouldn't that at the same time bloat nix even more? Isn't it enough if core people of the community for example build https://github.com/nix-community/nix-user-chroot ?
> In reality the only easy way to get it done is to use additional non-foss software
That is not true at all. You can use a nix docker image, a 5 line nix file and 2 commands to do a very basic CI pipeline almost anywhere.
-
Rebuild single nixpkg for nix-shell?
I'm using nix-user-chroot.
-
Hacking Anything with GNU Guix
Not sure about guix, but for nixos we have https://github.com/nix-community/nix-user-chroot
-
Install Sway without sudo privilege
You could try nix-user-chroot to install Nix and get Sway (and other stuff) that way - no need to compile it yourself.
nix-installers
-
The Determinate Nix Installer
If you install it from the community RPM installer, it works as they have SELinux support added: https://github.com/nix-community/nix-installers
-
nix won´t install on Fedora 37
I tried to install the Nix package manager on my Fedora 37 machine. Having read about some issues with installing Nix with the install script on Fedora and other OS, using Selinux, I chose install via "nix-installers" rpm-packe (https://github.com/nix-community/nix-installers/issues/16). Unfortunately, I get warnings about created uids throughout the install process not being in the scope of `SYS_UID_MAX 999`. Furthermore, after rebooting the computer, I end up with a flickering black screen instead of on my (Gnome) Desktop environment.
-
how do you get selinux to work with nix without disabling it?
Looks like you already found u/adisbladis legacy installers and opened a feature request for Silverblue support. Your best bet would be to start learning how SELinux policies work and see if you can adapt those for the way that you've set up Silverblue, or to see if you can modify the RPM builder to accommodate Silverblue by putting the Nix store under /var and bind mounting it onto /nix, like those other instructions floating around do.
-
I would like to see more cli apps avaliable as flatpaks
There's work to add nix to silverblue via community packaging: https://github.com/nix-community/nix-installers/pull/8
-
Hacking Anything with GNU Guix
I think nonguix also uses equivalent machinery for its Steam package: https://gitlab.com/nonguix/nonguix/-/blob/master/nongnu/pack...
Maybe there are docs on repurposing that someone more familiar with nonguix can point to.
Apparently there is an rpm-ostree-friendly RPM build of Nix that can be used to install Nix on Silverblue as well: https://github.com/nix-community/nix-installers/pull/8
It includes some code to get around the group/user management quirks that some other commenters have noted b0rked the Guix installer, so perhaps it gives an outline of how to install Guix on Silverblue for a hacker who'd like to try it :)
What are some alternatives?
SCALE-MAMBA - Repository for the SCALE-MAMBA MPC system
nixos-config - Nix configuration for macOS / NixOS with starter templates, step-by-step guides, and more ✨
json-c - https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/
nix-installer - Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 2 million installs.
nix-portable - Nix - Static, Permissionless, Installation-free, Pre-configured
guix-notes - This repo has moved to https://gitlab.com/pjotrp/guix-notes Notes on Guix
nix.dev - Official documentation for getting things done with Nix.
xmake-repo - 📦 An official xmake package repository
awesome-nix-hpc - high performance computing related nix resources
dotfiles - Nix-managed dotfiles for macOS and WSL