nix
nixos-shell
nix | nixos-shell | |
---|---|---|
2 | 6 | |
12 | 564 | |
- | - | |
7.9 | 6.1 | |
4 days ago | about 1 month ago | |
Nix | 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
-
NixOS 21.05 Released
I was able to make the switch over cold turkey after ~9 years of ArchLinux.
By sheer happenstance, I blogged earlier this week about one particular killer feature that doesn't get enough air time: https://news.ycombinator.com/item?id=27344677
My not-flake-yet configuration can be found at https://github.com/rraval/nix
-
Nix solves the package manager ejection problem
> How do NixOS users typically manage software that is not a Nix package
By writing a Nix package for it (I don't mean for this to sound flippant, tone is a bit hard to convey over text).
For example I have this alpha quality rust binary that I'm developing but I also want a stable version installed at the OS level. I write a Nix package and simply compose it into my overall NixOS configuration alongside the more official Nixpkgs: https://github.com/rraval/nix/blob/master/git-nomad.nix
> like a source code tarball where you would traditionally run configure && make && make install?
Nix has a bunch of defaults that make a conventional package like this straightforward.
Here's a package for a vanilla C binary + library that does the `autoreconf && ./configure && make && make install` dance: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/secu...
It's almost a little misleading because the actual steps are largely inherited from the defaults, you can read more about `stdenv.mkDerivation` here: https://nixos.org/guides/nix-pills/fundamentals-of-stdenv.ht...
nixos-shell
-
Using NixOS as a Hypervisor for a k3s Cluster in Homelab, can I define the VMs in Nix config?
Just found this: https://github.com/Mic92/nixos-shell
-
Manage libvirt's XMLs with Nix?
There is nixos-shell, but I'm thinking about Windows VM's mostly.
- Headless QEMU virtual machines based on Nix
-
NixOS 21.05 Released
>It doesn't work so well for I borrowed my coworker's computer for 5 minutes and want to use my own Vim configuration
You could use something like nixos-shell[1] to spin up a headless VM of your machine into your current shell.
[1]https://github.com/Mic92/nixos-shell
-
How do you enter the NixOS docker container?
as mentioned, the Nix docker container isnt a full NixOS system, it's just the nix package manager. If you want to try a quick full NixOS setup I really like https://github.com/Mic92/nixos-shell . It spawns a lightweight NixOS vm in the current shell. No qemu or kvm setup or knowledge required.
-
Way to install apps in their own FHS environment.
For testing stuff you can also use nixos-shell
What are some alternatives?
napalm - Support for building npm packages in Nix and lightweight npm registry [maintainer @jtojnar]
nix-darwin - nix modules for darwin
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nixos-fhs-compat - LSB&FHS compatibility for NixOS. Intended for containers and VMs.
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
nixos-generators - Collection of image builders [maintainer=@Lassulus]
nixGL - A wrapper tool for nix OpenGL application [maintainer=@guibou]
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
runix
NUR - Nix User Repository: User contributed nix packages [maintainer=@Mic92]
nix-bundle - Bundle Nix derivations to run anywhere!