Commit Graph

1741 Commits

Author SHA1 Message Date
Norman Rauschen
5c9e503f62 Fix typo
`Implemenation` -> `Implementation`
2024-05-14 22:42:16 +02:00
Norman Rauschen
bbfbead8f3 Fix typo
`assigments` -> `assignments`
2024-05-14 22:42:16 +02:00
Norman Rauschen
8ef0bb5b08 Fix typo
`vesion` -> `version`
2024-05-14 22:42:16 +02:00
Norman Rauschen
8b3fe7cd70 Fix typo
`particpating` -> `participating`
2024-05-14 22:42:16 +02:00
Norman Rauschen
9243f9dc2f Fix typo
`paremeters` -> `parameters`
2024-05-14 22:42:16 +02:00
Norman Rauschen
905cd62a16 Fix typo
`matche` -> `match`
2024-05-14 22:42:16 +02:00
Norman Rauschen
6650fdcdb6 Fix typo
`programms` -> `programs`
2024-05-14 22:42:16 +02:00
Norman Rauschen
e55781eaea Fix typo
`similiar` -> `similar`
2024-05-14 22:42:16 +02:00
Norman Rauschen
a01c8290c1 Fix typo
`artifical` -> `artificial`
2024-05-14 22:42:16 +02:00
Norman Rauschen
6dfb252ea5 Fix typo
`distingushing` -> `distinguishing`
2024-05-14 22:42:16 +02:00
Daniel Ramírez
cbf8083d55
Move "How do I add a new binary cache?" FAQ to Nix recipes (#833)
* Update the recipe on adding a binary cache

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-14 22:32:44 +02:00
Silvan Mosberger
3df4921374
Minor team doc improvements (#978) 2024-05-13 19:42:02 +02:00
Domagoj Mišković
604ac50dd4
lib unused binding in hello.nix (#974)
This removes the lib and lib.fakeSha256, along with any references to them in hello.nix and icat.nix from the tutorial. The tutorial is updated using https://nixos.org/manual/nixpkgs/unstable/#chap-pkgs-fetchers-caveats, providing an empty string to get the missing hash.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-09 22:31:02 +02:00
Valentin Gagarin
ed9571d6e1 add information on office hours 2024-05-08 11:29:08 +02:00
Manuel Thalmann
4b72c64e1b
Fix Typos (#973) 2024-04-29 14:44:03 +00:00
Domagoj Mišković
ec43f3a524
fix syntax error (#972)
Update packaging-existing-software.md - fix syntax error in skeleton derivation example
2024-04-24 23:01:54 +00:00
Anderson Torres
6fe9e53ccd best-practices: add a new tip for rec 2024-04-24 23:50:50 +02:00
olaf
cde9482598
nixos-configuration-on-vm.md: graphical vm (#940)
* draft graphical vm

* Review and improve the NixOS configuration in VM tutorial

Done together in the docs team meeting

* fix wording and formatting

---------

Co-authored-by: Silvan Mosberger <silvan.mosberger@tweag.io>
Co-authored-by: wamirez <wamirez@protonmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-04-22 19:28:58 +02:00
olaf
dc753f74cd add names to vale
attempt to pass a heading with a lot of names through vale ci test
2024-04-22 18:30:45 +02:00
olafklingt
426bed7f51 use sphinx dropdown in nixos tutorials 2024-04-21 23:29:37 +02:00
olafklingt
01e8e689ce fix "details link" colors in light theme
and modify transparency in "details" dark theme
2024-04-21 23:29:37 +02:00
dependabot[bot]
07c61ef3c9
chore(deps): bump nwtgck/actions-netlify from 2.1.0 to 3.0.0 (#942)
Bumps [nwtgck/actions-netlify](https://github.com/nwtgck/actions-netlify) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/nwtgck/actions-netlify/releases)
- [Changelog](https://github.com/nwtgck/actions-netlify/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/nwtgck/actions-netlify/compare/v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: nwtgck/actions-netlify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 16:16:49 +02:00
dependabot[bot]
b1d861d3ad
chore(deps): bump cachix/install-nix-action from 25 to 26 (#941)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 16:16:39 +02:00
olaf
fbb2e584d9
highlight background of collapsed texts (#963)
* highlight background of collapsed texts

* whitespaces
2024-04-18 16:15:45 +02:00
jopejoe1
8332e73807 replace unoffical wiki links with offical ones 2024-04-17 19:56:48 +02:00
olaf
f989fa59a7 Update CODEOWNERS 2024-04-15 17:15:49 +02:00
Silvan Mosberger
ac3ca9189c
Merge pull request #960 from ben-christian/fix-example-module-system
refactor: rename test.nix to default.nix for consistency
2024-04-15 17:03:04 +02:00
Daniel Ramirez
9221de024b
Merge pull request #961 from michaelshmitty/master
Fix typo
2024-04-14 17:04:49 -04:00
Daniel Ramirez
adcc4d2409
Add indefinite article 2024-04-14 16:59:13 -04:00
Michael Smith
368f80b7af
Fix typo 2024-04-14 22:35:44 +02:00
ben-christian
5dc7037af1 refactor: rename test.nix to default.nix for consistency 2024-04-12 17:25:41 +10:00
Valentin Gagarin
408489ffcd split out a page for documentation resources
this looks like a large change, but it simplifies a few things:
- separate page for documentation resources, with overall less text
- updated information on the official NixOS Wiki
- communication channels are now subsumed under "how to get help"
- a few wording corrections while at it
2024-04-10 20:46:45 +02:00
olaf
ce08af410f Update accept.txt
let vale accept NixOS Wiki
2024-04-10 01:12:42 +02:00
olafklingt
260cdc4717 update cross compiling tutorial to 23.11 2024-04-10 00:30:41 +02:00
Valentin Gagarin
7fddd6c9bd deduplicate CONTRIBUTING.md
all the information is alreaady in the contributing guide on the website
2024-04-09 17:24:47 +02:00
Andy Lee
c8ea42cc05
Improve Documentation: Exclude Prompt Characters from Copied Shell Commands (#955)
* docs: improve shell command copy experience

Prevent the inclusion of the dollar sign and preceding characters when copying shell commands from the documentation

Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-04-09 09:45:18 +00:00
Benoit de Chezelles
9c9f891c38
Update packaging-existing-software.md (#938)
* Update packaging-existing-software.md

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-04-09 08:25:43 +00:00
Oliver Kopp
bddda57b7d
Link to guide from the wiki (#944)
* Link to guide from the wiki
2024-04-08 20:45:47 +02:00
Jörg Thalheim
2f020563ad correct the number of flake users
The statistic in
https://discourse.nixos.org/t/nix-community-survey-2023-results/33124
does also include N/A responses in the percentage, so the 58% is a bit
misleading as the conclusion would be that 42% are still not using
flakes. I dropped the 1/3 statement for now, because I couldn't find any
information about that, but I can re-add it if this percentage is
actually correct. I also dropped the 2022 results as it didn't seem to
have the explicit question in it.
2024-04-08 20:42:25 +02:00
Silvan Mosberger
c3e0585718
Merge pull request #863 from fricklerhandwerk/nix-manual-dynamic-index
dynamically generate Nix manual version overview
2024-04-05 17:37:42 +02:00
Valentin Gagarin
07a1507f25 update some comments 2024-04-05 17:17:53 +02:00
Silvan Mosberger
f4794639c6 Various improvements to the dynamically generated Nix versions
- Use separate JSON files to track sources for Nixpkgs and Nix releases
  This greatly simplifies the code, because we can directly encode
  versions as keys without ambiguity
- Avoid an instance of IFD for the redirect generation
- Use pkgs.substitute instead of builtins.replaceStrings
- Turn off the single-page feature for now. It was added by Valentin in
  a previous commit, but I think we should discuss this a bit more
- Simplify a lot of the code and add comments
- Fix the mutable redirects, they were broken by a parent commit
- Remove pieces of Nix code that weren't used, like the import of the
  Nixpkgs manual. This can be added in the future when necessary
- Make sure that Nix versions are cached by building from the store path
2024-04-04 02:04:56 +02:00
Valentin Gagarin
e837576351 refactor
this change also places all historical Nix manuals under a stable URL
2024-04-03 13:59:14 +02:00
Valentin Gagarin
a3b5aad725 add a script to update Nixpkgs releases
this will accumulate releases over time. it's not great, but this is the
price of persistent URLs. otherwise, when people link to supposedly stable
URLs, and we garbage-collect old manuals, those links will rot away.

it's also slightly simpler algorithmically, and therefore easier to
reason about.

this can be incrementally improved in the future, by automatically
adding redirects to e.g. the closest following release for which the
manual is still served. for example, if we currently serve

    23.11
    23.05
    22.11
    22.05

but in the future decide to cut that list to the first two, the script
would drop the excess pins and add redirects like these:

    /manual/nixpkgs/22.05/* /manual/nixpkgs/23.05/:splat 301
    /manual/nixpkgs/22.11/* /manual/nixpkgs/23.05/:splat 301

the condition for that would be that we are reasonably sure that the
manuals will manage their own internal redirects as pages and anchors
move around between releases.
2024-04-03 09:21:26 +02:00
Valentin Gagarin
2e867e05e3 pin to known-good revision
before that, the script was semantically wrong as it pinned to the tip
of the branch.
2024-04-03 09:21:26 +02:00
Valentin Gagarin
751f62916b multiline awk script for readability 2024-04-03 09:21:26 +02:00
Valentin Gagarin
0a70dbf90c deep clone, optimise checkouts 2024-04-03 09:21:26 +02:00
Valentin Gagarin
a7fb1513b5 only fetch branches that differ from pins 2024-04-03 09:21:26 +02:00
Valentin Gagarin
c7374d4b7f only fetch release branches 2024-04-03 09:21:26 +02:00
Valentin Gagarin
161bba2625 add script to update Nix release branches 2024-04-03 09:21:26 +02:00