Raboof
Joined 4 April 2024
imported>Raboof sweethome3d notes |
imported>Raboof flakes notes |
||
Line 1: | Line 1: | ||
= whoami = | = whoami = | ||
Hi! I'm [https://arnout.engelen.eu Arnout Engelen] and I've been | Hi! I'm [https://arnout.engelen.eu Arnout Engelen] and I've been a NixOS contributor since 2019 and committer since 2021. I'm keeping some notes here about how I use NixOS that work for me but about which I'm not completely confident yet that they should go into the upstream docs. If you see anything you'd like to discuss further, feel free to get in touch! | ||
== Why NixOS == | == Why NixOS == | ||
Line 24: | Line 24: | ||
== Notes == | == Notes == | ||
=== flakes === | |||
I see advantages of flakes: having the split between flake.nix describing 'abstractly' what version you want to run, and the flake.lock describing the *actual* version you're running right now, is helpful. | |||
It does introduce some dilemma's, though: checking in flake.lock seems rather restrictive on downstream users, and will be likely to cause merge conflicts when you collaborate using forks. | |||
Also, I really like working from a local nixpkgs checkout, but that is not very well-supported by flakes yet: it copies it to the nix store each time, which takes a lot of disk space and is slow. Work on this is underway at https://github.com/NixOS/nix/pull/6530 but seems to be stalled. | |||
=== /etc/nixos/configuration.nix vs nix-env === | === /etc/nixos/configuration.nix vs nix-env === |