Commit Graph

4334 Commits

Author SHA1 Message Date
maralorn
0f1be08db8
Merge branch 'master' into haskell-updates 2023-06-19 23:22:52 +02:00
pennae
c8b4e5d557
Merge pull request #237557 from pennae/dedocbookify-nixos
nixos/doc: dedocbookify
2023-06-19 14:05:03 +02:00
Vladimír Čunát
6d80b598ef
Merge #237233: staging-next 2023-06-11 2023-06-17 18:53:26 +02:00
Ryan Lahfa
3d941b6be8
Merge pull request #236656 from nikstur/qemu-vm-persistent-block-device-names 2023-06-17 14:52:26 +02:00
Vladimír Čunát
41d7e84dd8
Merge branch 'master' into staging-next
Trivial conflict:
 	nixos/doc/manual/release-notes/rl-2311.section.md
2023-06-17 07:46:50 +02:00
nikstur
0bdba6c99b nixos/qemu-vm: use persistent block device names
This change removes the bespoke logic around identifying block devices.
Instead of trying to find the right device by iterating over
`qemu.drives` and guessing the right partition number (e.g.
/dev/vda{1,2}), devices are now identified by persistent names provided
by udev in /dev/disk/by-*.

Before this change, the root device was formatted on demand in the
initrd. However, this makes it impossible to use filesystem identifiers
to identify devices. Now, the formatting step is performed before the VM
is started. Because some tests, however, rely on this behaviour, a
utility function to replace this behaviour in added in
/nixos/tests/common/auto-format-root-device.nix.

Devices that contain neither a partition table nor a filesystem are
identified by their hardware serial number which is injecetd via QEMU
(and is thus persistent and predictable). PCI paths are not a reliably
way to identify devices because their availability and numbering depends
on the QEMU machine type.

This change makes the module more robust against changes in QEMU and the
kernel (non-persistent device naming) and by decoupling abstractions
(i.e. rootDevice, bootPartition, and bootLoaderDevice) enables further
improvement down the line.
2023-06-16 19:36:03 +02:00
pennae
6fcb6eee77 nixos/doc: set meta generator for html manuals properly
we no longer have to look like docbook-xslt generates our manuals
exclusively, so let's put something useful in there instead.
2023-06-16 19:26:23 +02:00
pennae
426903d2fb nixos/manual: remove docbook intermediates
they're no longer used for anything.
2023-06-16 19:26:23 +02:00
Maximilian Bosch
5a2769d981
nextcloud27: init
Fixes #237560
2023-06-16 14:11:38 +02:00
github-actions[bot]
ebaef3ce4c
Merge master into staging-next 2023-06-16 12:01:08 +00:00
Charles Hall
370f3e4883 nixos/lemmy: remove option removed upstream 2023-06-16 05:59:32 -04:00
sternenseemann
7d0a1bdb8f Merge remote-tracking branch 'origin/master' into haskell-updates 2023-06-14 14:28:38 +02:00
github-actions[bot]
be1f07fc6e
Merge master into staging-next 2023-06-14 12:01:12 +00:00
Dmitry Ivankov
ccdd853b64 23.05 changelog typo fix: buildFHSEnvChrootenv -> buildFHSEnvChroot 2023-06-14 07:52:56 -04:00
github-actions[bot]
55843b9385
Merge master into haskell-updates 2023-06-14 00:13:02 +00:00
github-actions[bot]
f29c608f98
Merge master into staging-next 2023-06-13 18:01:32 +00:00
pennae
f52f531a4e nixos/make-options-doc: deprecate docbook outputs
they're no longer necessary for us and will almost definitely start to
rot now (like commonmark and asciidoc outputs did previously). most
existing users seem to take the docbook output and run it through pandoc
to generate html, those can easily migrate to use commonmark instead.
other users will hopefully pipe up when they notice that things they rely
on are going away.

optionsUsedDocbook has only been around for one release and only exposed
to allow other places to generate warnings, so that does not deserve
such precautions.
2023-06-13 16:56:32 +02:00
pennae
20152b4269 nixos/doc: remove docbook options compatibility
no longer needed or useful, and may even produce false positives now
that markdown is the default language for option docs.
2023-06-13 16:56:31 +02:00
pennae
0997ae1903 nixos/manual: disallow docbook option docs
it's been long in the making, and with 23.05 out we can finally disable
docbook option docs and default to markdown instead. this brings a
massive speed boost in manual and manpage builds, so much so that we may
consider enabling user module documentation by default.

we don't remove the docbook support code entirely yet because it's a lot
all over, and probably better removed in multiple separate changes.
2023-06-13 16:56:30 +02:00
maralorn
b37b2d4b09
Merge pull request #237028 from maralorn/separate-bin
haskellPackages: Use separate bin output for multiple packages
2023-06-13 16:50:11 +02:00
Weijia Wang
9bb343d628
Merge pull request #237548 from rnhmjoj/pr-fix-rel
doc/release-notes: fix typo
2023-06-13 15:24:10 +03:00
github-actions[bot]
51c0c12cd4
Merge master into staging-next 2023-06-13 12:01:28 +00:00
rnhmjoj
90d11579d7
doc/release-notes: fix typo 2023-06-13 13:23:46 +02:00
Sandro
9183a72d11
Merge pull request #232862 from misuzu/gotosocial-init 2023-06-13 11:36:46 +02:00
github-actions[bot]
9dc5849025
Merge master into staging-next 2023-06-13 00:02:27 +00:00
Martin Weinelt
104455784c
Merge pull request #219791 from emilylange/nixos-caddy
nixos/caddy: change `acmeCA` default to `null`, omit empty `bind` directive
2023-06-12 22:40:54 +02:00
pennae
3edc20aa55 nixos/doc: stub out epub manual
epub manuals are holding back the transition away from docbook, and
cursory research does not suggest that they are used very much. it's
still very early in the 23.11 release cycle, so if we're going to find
out just how many people do use the epub manuals it should be now.

this need not be the end of epub manuals. nixos-render-docs could be
extended to also export epubs, but that has not been done yet since it's
going to be some effort with unknown real-world usefulness.
2023-06-12 17:50:19 +02:00
maralorn
fc3668a3ab
haskellPackages: Use separate bin output for multiple packages 2023-06-11 19:40:28 +02:00
github-actions[bot]
847b49213d
Merge staging-next into staging 2023-06-11 00:03:05 +00:00
Winston (Winny) Weinert
d15e598bd5 rl-2305: fix typo in openjdk version note 2023-06-10 16:40:05 -05:00
IndeedNotJames
3f93ec5814
nixos/caddy: change acmeCA default to null
The nixos/caddy module is somewhat old by now
and has undergone quite some refactors.
This specific module option (originally named
`ca`) used to make a bit more sense when
Caddy did not have multiple ACME CAs as
fallback (LE & ZeroSSL) by configured by
default yet (ZeroSSL came with v2.3.0).

I also rephrased the description slightly,
to mention Caddy's automatic issuer fallback
and a note which this option maps to in the
Caddyfile, to provide a bit more context and
a more up-to-date recommendation.

Specifically that "fine-grained configuration"
section comes from a time when this module did
some custom tls/issuer config json merging
with the templated Caddyfile using `jq`.

The "The URL to the ACME CA's directory"
section is a word-for-word copy from the
official Caddy docs, which also include a link
to LE's docs to the referenced staging
endpoint. So I added that as well.
2023-06-10 13:59:10 +02:00
Linus Heckemann
6be63ce590 kbd: split vlock into its own output
This avoids a dependency on pam when only the actual keyboard data is used.
2023-06-09 09:03:11 -07:00
github-actions[bot]
f8aa1a896e
Merge staging-next into staging 2023-06-08 06:01:46 +00:00
Pol Dellaiera
2a77a04971
Merge pull request #235855 from soywod/himalaya-v0.8.0
himalaya: 0.7.3 -> 0.8.0
2023-06-08 04:34:37 +02:00
github-actions[bot]
83e7490bd0
Merge staging-next into staging 2023-06-08 00:03:05 +00:00
ajs124
34eaaf331c mariadb: upgrade default from 10.6 to 10.11
which is the next LTS release
2023-06-07 13:10:23 +02:00
Clément DOUIN
be53021199
himalaya: 0.7.3 -> 0.8.0 2023-06-07 12:59:26 +02:00
github-actions[bot]
03925ecb5f
Merge staging-next into staging 2023-06-07 06:01:45 +00:00
mdarocha
7eb512bfdc openraPackages.engines.devtest: init at 20230414 2023-06-07 02:26:43 +00:00
github-actions[bot]
d7207bf33b
Merge staging-next into staging 2023-06-07 00:03:17 +00:00
x10an14
dc7d4dece5
Document how to use packages with extensions. (#145011)
Co-authored-by: Artturi <Artturin@artturin.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-06-06 22:37:42 +02:00
github-actions[bot]
dd60d8ee46
Merge staging-next into staging 2023-06-05 12:01:45 +00:00
Florian Klink
4627ee741d
Merge pull request #234877 from ElvishJerricco/auto-format-and-resize-with-systemd
Auto format and resize with systemd
2023-06-05 12:25:02 +03:00
misuzu
45ffb33514 nixos/gotosocial: init
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
2023-06-05 09:07:34 +03:00
Will Fancher
b497502357 nixos: Use systemd-growfs for autoResize 2023-06-04 22:57:22 -04:00
Will Fancher
5176a4f113 nixos: Use systemd-makefs for autoFormat 2023-06-04 22:57:20 -04:00
github-actions[bot]
b2f58f98dd
Merge staging-next into staging 2023-06-05 00:03:13 +00:00
figsoda
6ad2ed2ada
Merge pull request #235954 from wegank/nerdfonts-release-notes
rl-2305: mention nerdfonts update
2023-06-04 16:12:56 -04:00
Weijia Wang
d465aaf7c6 rl-2305: mention nerdfonts update 2023-06-04 21:23:16 +03:00
github-actions[bot]
e97d10016c
Merge staging-next into staging 2023-06-04 18:01:37 +00:00