Earlier quoted context omitted.
The original author is Dutch. In Dutch, "niks" (same pronunciation as Nix), actually means "nothing". His nickname is niksnut, which means "good-for-nothing".
> His nickname is niksnut, which means "good-for-nothing". In german that would be Nichtsnutz. Would the english word deadbeat mean the same?
Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
161–170 of 227 posts
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#162Earlier quoted context omitted.
I use configuration on macos as well, so I'm not sure what you mean?
Yeah, Home Manager is more redundant if you're using Nix-Darwin for a configuration.nix. Non-NixOS Linux doesn't have an equivalent module system to Nix-Darwin, though, so if you want a module system for declarative config there it's Home Manager.
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#163If you don't mind, a shameless plug: https://drakerossman.com/blog/nixos-for-apt-yum-users-a-gift... I am doing a similar series of NixOS-related stuff, currently got only a single article out, yet quite "meaty". You may want to check it out for a more streamlined approach in learning nix/NixOS which also compares it to familiar concepts from other Linux distributions. Will be releasing way more complete articles in…
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#164Earlier quoted context omitted.
You don't have to specify the nixosConfiguration name (e.g ~/flake#my-configuration)? Do you just name it "default" or something for that to work? I've never tried that.
You name it the same as your current system's hostname.
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#165I would love to see a discussion from somebody who really likes Nix on why it isn't ready for prime time yet/just play devil's advocate aloud on why it isn't the greatest thing since sliced bread. I feel like I must not be doing anything "serious" enough to need package reproducibility at that high level. I'm aware of things like git checkout/tags, package-lock.json, Cargo.lock, Docker image tags. What is a real worl…
Fragmented documentation. Flakes are still "experimental" and their interface subject to change, but they're also widely acknowledged to be the better way to use Nix. There aren't that many Flakes-first docs, and many existing documents describe things that don't really work with Flakes, so the already incomplete & fragmented docs are even more incomplete & fragmented than it seems at first! AFAICT, there's no way to…
For now there's nix-runner: https://github.com/clhodapp/nix-runner
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#166Earlier quoted context omitted.
I use configuration on macos as well, so I'm not sure what you mean?
Yeah, Home Manager is more redundant if you're using Nix-Darwin for a configuration.nix. Non-NixOS Linux doesn't have an equivalent module system to Nix-Darwin, though, so if you want a module system for declarative config there it's Home Manager.
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#167Would also be awesome to see something like this for NixOS.
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#168Just my two cents: Nix doesn’t guarantee “reproducible”, just “repeatable”. (I think it’s helpful to keep these technical concepts distinct, and to introduce the right terminology when teaching, since it makes elaboration easier in the future.)
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#169I wish guides like these contained screenshots. Do people use Nix for desktop OSes? As a VM they SSH into? A collection of config scripts that they don't directly issue commands to? I certainly can't tell from a quick glance of this guide
Re: Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
#170Earlier quoted context omitted.
For me, i use it on my Desktop because i love things being stable for my work environment. I don't want an upgrade over the weekend to cause problems come Monday morning. I've had my system get "borked" on updates in the past, and Nix lets me revert very very easily. Also upgrading libraries for one App can easily be isolated from breaking other applications and etc. It's got tons of flaws (to me) , but the core idea…
For me, the "borking" issue is largely resolved by running Btrfs. Just make a snapshot shortly before updating, and then I can revert to it if needed.