As we covered in my last post, NixOS is a amazing Linux distribution for creating stable and declared environments. Now while this is amazing for a desktop setup, it is also perfect for a home-server or home-lab. - Source: dev.to / 5 days ago
Nix is a cross-platform package manager. It uses the nix programming language. Nix and NixOs are often used in the same context, but while the first is a package manager, the latter is a linux distribution based on nix. - Source: dev.to / 10 days ago
Today I want to talk to you about Nixos. What is it? Nixos is a declarative and reproducible OS, partly taking the words used on their own page. What does that mean? - Source: dev.to / 19 days ago
Software developers often want to customize: 1. Their home environments: for packages (some reach for brew on MacOS) and configurations (dotfiles, and some reach for stow). 2. Their development shells: for build dependencies (compilers, SDKs, libraries), tools (LSP, linters, formatters, debuggers), and services (runtime, database). Some reach for devcontainers here. 3. Or even their operating systems: for... - Source: Hacker News / 20 days ago
Hopping from one distro to another with a different package manager might require some time to adapt. Using a package manager that can be installed on most distro is one way to help you get to work faster. Flatpak is one of them; other alternative are Snap, Nix or Homebrew. Flatpak is a good starter, and if you have a bunch of free time, I suggest trying Nix. - Source: dev.to / about 1 month ago
- it reduces bloat, because you can generate an environment or OS image with only the software needed to run a specific program or service My guess is that a big efficiency gain would come from the second point, because you don't waste CPU on code that you don't use. Does this make sense? Has anyone explored this? [0]: https://nixos.org. - Source: Hacker News / about 2 months ago
1) Setting up the development environment - I currently use devcontainers for most things, but may also dig into nix -> isolated, portable, repeatable development environment 2) Exploring Echo - understand routing, requests, response, etc. 3) Incorporate Templ - integration with Echo, template composition, etc. 4) Integrating TailwindCSS - config for use with Echo/Templ, development cycle, deployment, etc. 5)... - Source: dev.to / 2 months ago
"Your greatest challenge lies ahead -- and downwards..." Oh, wait a second, my bad, that's the quote on the box cover for Zork I: ( https://upload.wikimedia.org/wikipedia/en/a/ac/Zork_I_box_art.jpg https://en.wikipedia.org/wiki/Zork ) What you really wanted was a link to where you could download Nix/NixOS -- and/or learn more about it! Here ya go! https://nixos.org/ "Your greatest challenge lies ahead --... - Source: Hacker News / 2 months ago
Semi-related, I would recommend to anyone who is a Linux native to try to find some kind of "minimum viable setup" that is really really easy for you to run out of VirtualBox or Parallels or something for this reason. No matter where you go, you know you can have a suite of tools which work just as you want them to there. Being able to tear it down and rebuild it quickly is also a great way to deal with debugging... - Source: Hacker News / 3 months ago
The nix package manager is an awesome package manager for linux and macos, which focuses on declarative packages. This means that you can dump out all the packages you want into a file, and nix will go out and fetch them for you. - Source: dev.to / 3 months ago
Secondly, our development environments must not drift, because then code may behave differently and a change could pass on our machine but fail in production. There are many tools for locking down environments, e.g nix, pkgx, asdf, containers, etc., and they all share the common goal of being able to lock down dependencies for an environment accurately and deterministically. And that needs to be enforced in our... - Source: dev.to / 4 months ago
There are many ways this can be done (e.g nix, pkgx, asdf, containers, etc.), and we won’t get into which specific tools to use, because we'll instead cover the essential essence of preventing environment drift:. - Source: dev.to / 4 months ago
Nix is a tool that allows you to make reproducible development environments. I've started using it in all my Elm side projects and I've had a good experience with it thus far. To pique your curiosity I just wanted to share my simple setup that has been working quite well for me. - Source: dev.to / 4 months ago
The latter one is based on nix OS using Symfony flex recipes and PHP packagist composer. The flex devenv should work cross-platform on Linux, Windows, and Mac. "The main difference to other tools like Docker or a VM is that it neither uses containerization nor virtualization techniques. Instead, the services run natively on your machine.". - Source: dev.to / about 1 year ago
The answer to your issue is to use something like Nix rather than rewrite everything. Source: 5 months ago
(2) Click "Get Started" (https://nixos.org/learn), then "Install Nix" (https://nixos.org/download#download-nix) Either way, those instructions don't offer any clear next step. I might get it installed, but what now? Going back to "Get Started" (https://nixos.org/learn), the next options is "First steps with Nix" (https://nix.dev/tutorials/first-steps/). The options here are:- Source: Hacker News / 6 months agoAd hoc shell environments.
It sounds like you'd benefit a lot from Nix/NixOS [1], if not just home-manager[2]. 1. https://nixos.org/ 2. https://github.com/nix-community/home-manager. - Source: Hacker News / 7 months ago
I would also recommend looking into NixOS reproducible builds, which allows declaratively specifying the entire system configuration and precisely defining which packages are installed, their versions, and dependencies. The OS remains immutable and consistent. A quite powerful tool for creating a secure and minimalistic workstation environment. https://nixos.org/. - Source: Hacker News / 7 months ago
I'm really not fond of that agpt landing page. So many red flags; the AI-generated background, mailing letter box with accompanying email-beggar text, the Discord button (!!!) being given as much space as the Github repo click-through... it's a mess. The whole website feels more boilerplate than content. I mean, look at these quotes! > With the help of the incredible open-source community, we’re making... - Source: Hacker News / 8 months ago
Not if you use the Nix package manager: https://nixos.org/ Before that though I used to only install command line tools. At some point though, I forgot the incantation for it and realized I could just use Nix for git as I was using it for other things already. - Source: Hacker News / 8 months ago
And just wait till you discover Arch Linux, Gentoo, Guix, or NixOS. Source: 10 months ago
Do you know an article comparing NixOS to other products?
Suggest a link to a post with product alternatives.
This is an informative page about NixOS. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.