nixos-wsl-starter
compose2nix
nixos-wsl-starter | compose2nix | |
---|---|---|
3 | 3 | |
148 | 156 | |
- | - | |
6.5 | 9.1 | |
about 1 month ago | 13 days ago | |
Nix | Go | |
- | 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.
nixos-wsl-starter
-
NixOS: Declarative Builds and Deployments
NixOS is honestly the single most game-changing thing I've been introduced to in my last decade of experience in tech.
If you're interested in trying out NixOS I highly recommend either running it as an WSL2 VM[1] if you have a Windows machine or deploying it on a cheap VPS[2] to play around with.
I personally still use a Win11 desktop for compat with Adobe software and a few other bits and pieces, but I do all my serious work on a NixOS WSL2 VM.
[1]: https://github.com/LGUG2Z/nixos-wsl-starter
[2]: https://github.com/LGUG2Z/nixos-hetzner-cloud-starter
-
An Overview of Nix in Practice
I've been trying to encourage people to give NixOS in VMs a try as a safe way to build up a nice working environment while still maintaining your daily driver until you're interested in/ready to switch. I have a starter template for NixOS on WSL[1] with an accompanying walkthrough[2] if you want to get an idea of how much effort this might require on your part.
[1]: https://github.com/LGUG2Z/nixos-wsl-starter
[2]: https://www.youtube.com/watch?v=UmRXXYxq8k4
- Getting Started with NixOS on WSL
compose2nix
- Show HN: Generate a NixOS config from a Docker Compose project
- compose2nix: Generate a NixOS config from a Docker Compose project
-
An Overview of Nix in Practice
You can run containers on NixOS (also through systemd) and get the same benefits explained in this article. NixOS supports both Podman and Docker as a runtime. There is also the option to run NixOS containers. See: https://nixos.wiki/wiki/NixOS_Containers.
The Docker Compose story is a bit rough around the edges, though. I’m actually working on a tool to automatically convert a Compose file into a NixOS config you can import as-is. Still kinda early, but the skeleton works: https://github.com/aksiksi/compose2nix
What are some alternatives?
mise - dev tools, env vars, task runner
nixos-hetzner-cloud-starter - A sane, batteries-included starter template for running NixOS on Hetzner Cloud
nix - Nix, the purely functional package manager
gokrazy - turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs!
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nix.dev - Official documentation for getting things done with Nix.
garn - garn is a build tool and environment manager that replaces justfiles/makefiles, docker, and the annoying parts of READMEs. The builders lingua franca.
main - OCI base images of Fedora with batteries included
nixos-anywhere - install nixos everywhere via ssh [maintainer=@numtide]
nixos-and-flakes-book - :hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!
nur-packages-template - A template for NUR repositories: [maintainer=@fgaz]