microvm.nix
flake-utils
Our great sponsors
microvm.nix | flake-utils | |
---|---|---|
7 | 8 | |
998 | 1,005 | |
- | 5.9% | |
9.3 | 5.8 | |
5 days ago | about 1 month ago | |
Nix | Nix | |
MIT License | 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.
microvm.nix
-
Tvix – A New Implementation of Nix
- Generating virtual machines/installators from a configuration: https://github.com/astro/microvm.nix and https://github.com/nix-community/nixos-generators
- NixOS MicroVMs
-
Is there a nixos solution for hyperconverged infrastructure?
MicroVM.nix, which creates firecracker/cloud-hypervisor/qemu/etc VMs: https://github.com/astro/microvm.nix
-
Make your QEMU 10 times faster with this one weird trick
FWIW, the contemporary alternative to 9p is virtiofs. It is implemented as a separate service that is running aside the hypervisor. Originally out of qemu, it was rewritten in Rust as a freestanding project that can also be used with cloud-hypervisor and crosvm.
https://gitlab.com/virtio-fs/virtiofsd
On NixOS: https://github.com/astro/microvm.nix
- microvm.nix: A Nix Flake to Easily Run NixOS MicroVMs on NixOS
- Microvm.nix: A Nix Flake to Easily Run NixOS MicroVMs on NixOS
flake-utils
- Nix Flakes
-
Our Roadmap for Nix
The ‘flake-utils’ readme is a pretty good jumping off point: https://github.com/numtide/flake-utils
I have this or that nitpick with FL and FLP but overall it’s very solid stuff. FLP is a little more “magical”, and that’s not always the best starting out, but you really can’t go wrong with either.
-
Rust Environment and Docker Build with Nix Flakes
We added two inputs, the first is nixpkgs which lets us specify which version of nixpkgs we should use. There are many thousands of packages in the nixpkg repository, and they are updated often so here will use the unstable branch. We also added flake-utils which helps us generalize the flake to support multiple systems, not just Linux.
-
Getting Started Using Nix Flakes As An Elixir Development Environment
The inputs is how you can import external sources of other flakes into the flake project you have. In other words, any project you may need or tools required to get started, this is where you will define their source. Example below is using the standard nixpkgs and a tool called flake-utils, which provides a set of functions to make flake nix packages simpler to set up without external dependencies.
-
Flake equivalent to `nix-shell --pure`?
I'm not sure what nix-shell --pure does, but is it equivalent to using a flakes.nix in your projects? Ie i use https://github.com/numtide/flake-utils and direnv to replicate the old shell.nix with a Flakes setup. Per project i have a flakes.nix and a flakes.lock, so it feels just like my old shell.nix setup, but using flakes instead.
-
Workspace Management With Nix Flakes: Jupyter Notebook Example
A Nix Flake is just an object - check out those surrounding curly braces. This object has two keys, inputs and outputs. The inputs are where we define the flake's dependencies and where to find all the tools we use. This one has two, nixpkgs and flake-utils. Each of these just points to a GitHub URL, and if you follow those links, you'll see each repo provides its own flake.nix. The outputs of each remote flake get piped into the inputs of my flake, so we can use what they provide.
-
How to transition from shell.nix to flake.nix?
You can easily transition your shell.nix (and default.nix) to a flake-based one by using flake-utils and flake-compat. The former is actually unnecessary, but I would recommend it for typical project environments. Unless you have an impure dependency, this transition would be easy.
-
Is there a way to use flakes to nix run emacsgcc?
Flakes can provide different types of things: - some flakes provide applications that you can nix run, - some flakes provide functions that you can import (e.g. https://github.com/numtide/flake-utils), - some flakes provide overlays to use with nixpkgs (e.g. that emacs-overlay you posted).
What are some alternatives?
nix-cargo-integration - Library to easily and effortlessly integrate Cargo projects with Nix.
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
nixt - Simple unit-testing for Nix [maintainer=@Lord-Valen]
flake-utils-plus - Use Nix flakes without any fluff.
namaka - Snapshot testing for Nix based on haumea [maintainer=@figsoda]
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
skyflake - NixOS Hyperconverged Infrastructure on Nomad/NixOS
solana-nix - The Solana CLI tools packaged up with Nix
qemu - QEMU commit queue for 9P (aka 9pfs) changes only. Please see http://wiki.qemu.org/Contribute/SubmitAPatch for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
nixos - A fully automated replicable nixos configuration set
dev-templates - Dev environments for numerous languages based on Nix flakes [maintainer=@lucperkins]
nixpkgs - Nix Packages collection & NixOS