Nix Documentation | 436 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 94 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Aug 2022 | ||
| 02:11:08 | ||
| 03:40:47 | ||
| another PR to look at (part of the attempt to provide introduction to nixos configuration documentation): https://github.com/NixOS/nix.dev/pull/305/files | 10:36:40 | |
| * another PR to look at. it is part of the attempt to provide introduction to nixos configuration documentation: https://github.com/NixOS/nix.dev/pull/305/files | 11:10:45 | |
| nix.dev got moved to NixOS? We might as well remove the lines from anti-patterns that are not in line with the contributing guide of nixpkgs. | 11:48:04 | |
| Then reviewers no longer need to fight against half correct recommendations | 11:48:50 | |
| https://github.com/NixOS/nix.dev/pull/307 | 11:54:59 | |
| one issue with nix i run more then 1 time into it.. there are many tools to tackle a problem. and no central site with infos (or i didn't found it yet) two examples are deploy and secrets. i wish i would have. secrets.md that list all options to handle secrets in best case with comparison | 14:56:43 | |
| @luxus There is this NixOS Wiki page: Comparison of secret managing schemes Otherwise you're right, and Domen Kožar said the same in his talk yesterday. Converging on recommendations for best practices is something that nix.dev is meant to do, and the Nix documentation team will support all efforts in that direction. | 15:13:53 | |
| and its a selling point as well.. if we have a overview of features.. it takes a moment to find out about flakes, home-manager, secrets and the benefits | 15:15:26 | |
| not to talk about cool fancy rice stuff like stylix or nix-colors 😄 | 15:16:05 | |
| linux have distro hopping .. nix itself have solution hopping .. | 15:17:10 | |
| starting with a configuration.nix switching to flake.nix switching to a flake that you find on github. switching to another one.. deciding to write your own flake again .. | 15:18:03 | |
| finding a flake configuration that have a similar setup makes understanding so much easier. and frameworks like digga are really hard to understand in the first try | 15:20:07 | |
| sorry english is not my native tongue 😄 i just talking about my experiences from the last year | 15:20:55 | |
| imho, and i've expressed this to various people looking for help, flakes have been overcomplicated | 15:21:26 | |
| yes.. and as soon you use a flake config that use some homemade libs, most instructions on websites are not working anymore | 15:22:40 | |
| its really hard to write a config only with the understanding for programing. its a big plus to understand the nixlang... and i normally can hack my why into most stuff 😄 i can use/create/modify neovim configs in lua without speaking lua. i can fix python stuff without fully understand python.. but with flakes i really feel lost | 15:25:31 | |
| 18:32:41 | ||
| 20:21:33 | ||
| 18 Aug 2022 | ||
| 03:07:05 | ||
| Hi folks, Nix noob here, I have a few small thoughts about rough edges on the "new user experience" where some aspects of the docs took me 5-10 mins of digging where I feel they could have been structured to hand-hold a bit better. I've just gone through the Rust Book and so I've got some good contrast for how nice a ramp-up doc can be. Is it useful to share nits and other suggestions here? I feel like most of my input is too small to justify a Github issue. | 03:10:43 | |
| i'd say go ahead | 03:18:54 | |
| i was a new user a few years ago but i've forgotten all those bits | 03:19:11 | |
| but like the view from up here (if you'll indulge me for a moment) i wonder if the way people approach nix is right | 03:20:56 | |
| 👍️ OK here goes. I started off on https://nixos.org/learn.html, clicked "First steps...", and got to https://nixos.org/guides/ad-hoc-developer-environments.html. My first bit of feedback on the nix CLI tools is that all of the commands have this long delay that makes me wonder if I installed it right; for example As an aside, I'm already thinking "-qaP ?" I think as a mnemonic/teaching aid, using the full | 03:28:36 | |
| Next, the "reproducible executables" example doesn't explicitly say "put this into a file, chmod +x it, and then run the file". I think being more explicit about what you want the user to do with that blob of text would be helpful. This is clearer on https://nix.dev/tutorials/ad-hoc-developer-environments#ad-hoc-envs which I found later and which has better formatting | 03:32:32 | |
| The comment "The -I flag pins the Nixpkgs revision to an exact Git revision, leaving no doubt about which exact version of Nix packages will be used." makes my eyes glaze over. How do I get that git revision? Is a user really expected to do this? In practice I don't think I'd use a shell one-liner this way, I'd use a shell.nix, right? I think this example is bringing in immutability a bit too early, even though it's a defining feature. | 03:34:40 | |
Sandro 🐧: nix-env -qaP is definitely a thing to take out in your "sync with best practices" PR | 03:36:56 | |
| do you feel familiar with git and github? | 03:37:52 | |