1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Commit graph

890 commits

Author SHA1 Message Date
Valentin Gagarin 5c0ac8a727
add best practice on reproducible Nixpkgs configuration (#780) 2023-11-02 02:30:40 +01:00
fricklerhandwerk 8afee98203 dissolve the Learning Journey section
This does not yet follow #701, because the change to get there would be
too big. The goal is to keep the table of contents meaningful at all
times and the diff of each pull request manageable.

The packaging tutorial is quite important, so it's not wrong to have it
visible on the front page until we have enough material for a packaging
section.

The sharing dependencies article should really be a very brief guide, but
because that would be quite a big change, it's only moved to the Guides
section for now.
2023-11-02 00:13:32 +01:00
fricklerhandwerk 2f09d22b8b fix styling issues and links 2023-11-01 23:52:10 +01:00
Henrik 12846fc6c2
This cute world NixOS and Flakes unofficial book (#781)
* added this cute world unofficial book

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-31 12:18:33 +01:00
Valentin Gagarin 3373822a7b
remove learning journey working group (#776)
- move tutorial process into the contribution guide
- move documentation survey in the maintainers directory
2023-10-30 17:04:14 +01:00
Valentin Gagarin 3a52c0ac05
add Recipes section under Guides category (#775)
* add Recipes section under Guides category

This also removes the templates section, as we're not maintaining it and it likely won't be necessary anyway once the curriculum is roughly finished.
2023-10-27 17:09:16 +02:00
Valentin Gagarin eb0825d6fe
style guide: remove duplicate quote, reword (#758) 2023-10-25 11:30:05 +02:00
olaf 0c7bb8e86c
Update source/tutorials/nixos/installing-nixos-on-a-raspberry-pi.md
Co-authored-by: Yuki Langley <hi@yukiisbo.red>
2023-10-24 11:53:31 +02:00
olaf 1ecd4dfc0b
Update installing-nixos-on-a-raspberry-pi.md
fix link to raspberry pi bootloader_update_stable
2023-10-23 11:23:08 +02:00
Valentin Gagarin 833a73b7a3 add graphical environment as requirement
the instructions say that the command will open a window, which
naturally requires a graphical environment. but this is very late in the
process, and will likely not be obvious in the middle of a a self-directed learning situation.
2023-10-23 02:16:02 +02:00
Valentin Gagarin 2566dbbf0c reword to direct instructions 2023-10-23 02:15:50 +02:00
Valentin Gagarin cc7d705cf3 clean up references 2023-10-23 02:12:41 +02:00
Zach Mitchell, PhD ad4fbfa565
Merge pull request #766 from fricklerhandwerk/nix-contributing
refer to contributing guides in the respective projects
2023-10-19 22:42:16 -06:00
Zach Mitchell, PhD 462a947529
Update source/recipes/best-practices.md
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-19 11:30:34 -06:00
fricklerhandwerk ef8c0b72ab refer to contributing guides in the respective projects
this is where the information will be most up-to-date and where it
should be maintained to begin with.
2023-10-19 12:17:00 +02:00
Zach Mitchell 31fa807ccd Mention rebuilds in best practices 2023-10-18 09:05:28 -06:00
Daniel R 5bc35ca7ce
move question on impurities to FAQs section (#757)
* move 'are there...impurities in builds?' -f recipes -t concepts

* reword some items and add links/more info

* fix random bullet point

* rm nix hour ref

* rm home directory bullet point

* reword question to make it more specific

* add back filesystem item

* replace passive to keep list's theme

* fix typo

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>

* add nix version item to the list

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>

* add binfmt to linux kernel items

---------

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-10-12 19:42:01 +02:00
fricklerhandwerk d9016d8cf4 add link to shell.nix tutorial 2023-10-09 21:23:29 +02:00
fricklerhandwerk 0d93318c5c move python dev env sample to recipes
Co-authored-by: Alexander Groleau <alex@proof.construction>
2023-10-09 21:23:26 +02:00
alex d003321adb move direnv instructions to recipes, update and rework text
Co-authored-by: fricklerhandwerk <valentin@fricklerhandwerk.de>
2023-10-09 13:37:21 -05:00
Alexander Groleau 14b2fc7848
Merge pull request #756 from fricklerhandwerk/merge-shell-tutorials
merge the two shell.nix tutorials into one
2023-10-09 13:17:12 -05:00
fricklerhandwerk ea104900d0 merge the two shell.nix tutorials into one
rephrase slightly for brevity and clarity.

re-use the examples from the ad-hoc environment tutorial both for
simplicity as well as to give it some continuity.

Co-authored-by: Alexander Groleau <alex@proof.construction>
2023-10-09 20:13:19 +02:00
Alexander Groleau d4018a6359
Merge pull request #751 from fricklerhandwerk/recommended-tools
add link to awesome-nix
2023-10-09 08:50:59 -07:00
Alexander Groleau 325915aa41
Merge pull request #752 from fricklerhandwerk/merge-pinning-docs
add introduction to cross compilation tutorial
2023-10-09 08:50:09 -07:00
fricklerhandwerk 9961ac5d54 add introduction to cross compilation tutorial
remove references to "towards reproducibility" as that's not very
focused, and at that point readers will likely be familiar with the
concept such that they only need the reference, if anything
2023-10-09 17:46:24 +02:00
fricklerhandwerk bb1f44c67b add link to awesome-nix
this will hopefully help people find useful things a lot faster
2023-10-09 17:32:32 +02:00
fricklerhandwerk 869d6bd0b4 move Nix language tutorial to top level
this fits the global outline we developed, and also makes the tutorial
more immediately visible - working with the Nix language is a core skill
we want to teach after all
2023-10-09 17:26:06 +02:00
Alexander Groleau 6cd0c3de72
Merge pull request #748 from fricklerhandwerk/add-links
clean up detailed explanation on building VMs
2023-10-09 08:08:14 -07:00
Alexander Groleau 84bbc7c230
Merge pull request #725 from olafklingt/server-client-test
simple server client test
2023-10-09 08:07:37 -07:00
asymmetric eaded9b070
Merge pull request #746 from fricklerhandwerk/move-warning
highlight password security warning in NixOS example
2023-10-09 11:27:57 +02:00
fricklerhandwerk 769cff9030 clarify detailed explanation 2023-10-07 04:21:19 +02:00
fricklerhandwerk a2a706f29d don't repeat the example contents in the instruction 2023-10-07 04:12:44 +02:00
fricklerhandwerk cd1abe532b use self-descriptive link text, imperative for instructions 2023-10-07 04:12:44 +02:00
fricklerhandwerk a1b582f33a modules are not a convention 2023-10-07 04:12:44 +02:00
fricklerhandwerk 82e7185436 remove superfluos capitalisation 2023-10-07 04:12:44 +02:00
fricklerhandwerk 4bcf52fe1b reword learning goal to use more keywords 2023-10-07 04:12:43 +02:00
fricklerhandwerk d59250908d remove compatibility blurb
readers don't even need to think about it, as it's encoded in the pinned
source. at best this would be a note to maintainers, but we should know
that as well.
2023-10-07 04:11:46 +02:00
fricklerhandwerk 776d19f8e8 dedent list 2023-10-07 04:11:44 +02:00
fricklerhandwerk d876a318bc more concise instructions 2023-10-07 00:37:42 +02:00
fricklerhandwerk 4b814d5d37 more precise heading 2023-10-07 00:37:27 +02:00
fricklerhandwerk e6ae1afaed highlight password security warning in NixOS example 2023-10-06 23:23:50 +02:00
Valentin Gagarin a279bfbd6a
avoid gerund 2023-10-06 23:21:20 +02:00
Valentin Gagarin 35ae4de7ca
more mundane grammar 2023-10-06 23:20:19 +02:00
fricklerhandwerk 07ea1eb6b2 rework the multi-machine example
- use the same Nixpkgs release to avoid massive downloads
- continue using `pkgs.nixosTest`; the new thing is completely undocumented
- use a shorthand module; `lib` is not used
- use an empty nginx config; commented-out code is confusing
- move explanation of the test script to the end; use imperative
- add instructions to run it
2023-10-06 22:51:08 +02:00
fricklerhandwerk e5f8ca0a9d reword introduction to multi-machine example 2023-10-06 22:51:07 +02:00
fricklerhandwerk 2a8bc7dd63 more concise heading 2023-10-06 22:50:46 +02:00
fricklerhandwerk 256bcd47ea remove superfluos empty line 2023-10-06 22:50:46 +02:00
fricklerhandwerk f15b5a4df3 build up example as numbered list
while section headings are good for linking, this is not very important
here. the heading distract from the sequential structure, which the list
exposes more clearly.
2023-10-06 22:50:46 +02:00
fricklerhandwerk 5fd6576a8d fix wording 2023-10-06 22:50:46 +02:00
fricklerhandwerk 0e63b762b9 clarify wording around module options 2023-10-06 22:50:46 +02:00