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

1608 commits

Author SHA1 Message Date
Lorenzo Manacorda 36e4c147c7 vale: simplify invocation 2023-11-13 13:28:42 +01:00
Lorenzo Manacorda 46a7c3ce9e vale: run in CI 2023-11-13 13:28:42 +01:00
Lorenzo Manacorda f998ca6edf vale: init
Prose linter, can be run with:

    vale --glob='*.md' .
2023-11-13 13:28:42 +01:00
Lorenzo Manacorda 095e794b2c unignore .envrc 2023-11-13 13:28:42 +01:00
Valentin Gagarin 5aa0254754
search path -> lookup path (#747)
recent additions to the Nix manual clarify the distinction between
search path and lookup path, and also document the resolution algorithm.

lookup paths are now a distinct Nix language construct with its own
reference documentation.
2023-11-13 10:30:42 +01:00
Addison Grant ea8357b149
Remove specific software name from header in docs (#795)
* Remove specific software name from header

There's enough detail about it below, and the specific tech isn't the point of this section anyway.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-11-09 23:05:01 +01:00
Rob Thomas fcac94d552
updated the context for the installation script to match the example … (#793)
* updated the context for the installation script to match the example for steps outlined

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-11-09 18:39:00 +01:00
Valentin Gagarin 0d770fce2e
fix formatting/punctuation (#794) 2023-11-09 16:38:09 +01:00
Valentin Gagarin 8a74a98c54
rewrite guide to pinning dependencies with niv (#782)
* rewrite guide to pinning dependencies with niv

* use the specific branch directly

Co-authored-by: Silvan Mosberger <github@infinisil.com>

* use the shell's niv explicitly

* Apply suggestions from code review

---------

Co-authored-by: Silvan Mosberger <github@infinisil.com>
2023-11-07 22:26:23 +01:00
Silvan Mosberger aa8a016064
Merge pull request #783 from fricklerhandwerk/remove-vision
remove the vision outline
2023-11-07 17:04:53 +01:00
Silvan Mosberger 7499e8ead0
Merge pull request #792 from NixOS/pure
default.nix: Allow pure evaluation
2023-11-07 05:13:49 +01:00
Silvan Mosberger c5e1cd7bbb default.nix: Allow pure evaluation 2023-11-07 04:43:55 +01:00
Silvan Mosberger 91145954ae
Merge pull request #761 from fricklerhandwerk/remove-flakes
remove flake.nix
2023-11-07 04:41:02 +01:00
Daniel R ab98971f03
move question 'what are channels...?' -f recipes -t concepts (#744)
Co-authored-by: Alexander Groleau <alex@proof.construction>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Silvan Mosberger <silvan.mosberger@tweag.io>
2023-11-07 03:11:25 +01:00
fricklerhandwerk 533724820c use "source" for niv source names
this removes a difference to how Nix currently fetches flake references.

using a constant is preferrable because renaming the source won't force
downstream rebuilds of store objects cached from when flakes were used.

upstream fix: https://github.com/nmattia/niv/pull/379
2023-11-07 03:06:11 +01:00
fricklerhandwerk 1e2299cff6 remove flake.nix
use niv for dependency management.

this follows our own tutorials on writing packages and development
shells, and we generally find it is easier to read and work with.

Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-11-07 03:04:28 +01:00
Alexander Groleau 51e43e3829
Merge pull request #790 from wamirez/master
rephrase best practices for clarity
2023-11-06 08:32:36 -08:00
wamirez b1ae5e47fc rephrase best practices for clarity 2023-11-06 12:23:27 -04:00
Pierre Bourdon 3f5c86d466 ci: fix deploy-and-build production branch filter 2023-11-03 18:33:24 +01:00
Pierre Bourdon 741535173c ci: switch to deploy to Netlify instead of Cloudflare pages (#772) 2023-11-03 17:23:16 +01:00
fricklerhandwerk 8346ccdc7f remove the vision outline
we're already close enough to the original idea that there is no need to
keep it here.
2023-11-02 20:39:29 +01:00
Valentin Gagarin 1b3be81da7
fix stray link reference 2023-11-02 20:03:33 +01:00
Valentin Gagarin 5c0ac8a727
add best practice on reproducible Nixpkgs configuration (#780) 2023-11-02 02:30:40 +01:00
Alexander Groleau 8c5659d85b
Merge pull request #777 from fricklerhandwerk/packaging-existing
dissolve the Learning Journey section
2023-11-01 17:37:12 -07: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
Alexander Groleau 8186923cfc
Merge pull request #779 from fricklerhandwerk/fix-styling
fix styling issues and links
2023-11-01 15:53:40 -07: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
Henrik 0ac6ff69eb
team membership list follow up (#773)
* team membership list follow up

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-27 10:59:58 +02:00
Valentin Gagarin eb0825d6fe
style guide: remove duplicate quote, reword (#758) 2023-10-25 11:30:05 +02:00
Valentin Gagarin 245c5b8796
Merge pull request #771 from NixOS/fix-rpi-link
Update installing-nixos-on-a-raspberry-pi.md
2023-10-24 23:27:45 +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
olaf 28c2c3b828
Merge pull request #769 from fricklerhandwerk/gui-nixos-vm
add graphical environment as requirement
2023-10-23 11:16:46 +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 bdd2190e4e
Merge pull request #763 from fricklerhandwerk/devmode
move devmode helper into flake
2023-10-19 11:33:00 -06:00
Zach Mitchell, PhD 2088768fdf
Merge pull request #765 from zmitchell/cache-misses
Mention rebuilds in best practices
2023-10-19 11:30:46 -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
fricklerhandwerk 42add6566d move devmode helper into flake
this cleans up the top-level directory and hopefully makes the setup
slightly more obvious

Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-10-18 15:33:06 +02:00
Valentin Gagarin 8c657ffcc1
Merge pull request #515 from zmitchell/poetry-to-nixpkgs
Switch from poetry to nixpkgs
2023-10-16 12:52:29 +02: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
Brian McGee bb46a29051
Merge pull request #759 from brianmcgee/leaving-ljwg
removing brianmcgee from learning journey working group
2023-10-11 15:24:14 +01:00
Brian McGee 919126b4bf
removing brianmcgee from learning journey working group
I've enjoyed participating in the docs team but lately I haven't had the time
to attend the meetings and contribute.

My interests lie elsewhere in Nix at the moment and I would like to dedicate my
time to exploring them.
2023-10-11 12:53:39 +01:00