Commit Graph

4574 Commits

Author SHA1 Message Date
Doron Behar
9d0bb6e67a nixos-option: Include manual page in the package 2023-08-12 12:57:16 +03:00
Doron Behar
68e6cc5831 nixos-rebuild: Include manual page in the package 2023-08-12 12:52:46 +03:00
Jan Tojnar
622745942b nixos/gnome: Do not force Qt apps to Adwaita
adwaita-qt tries valiantly to ensure a visual consistency
but unfortunately, it often falls into an uncanny valley instead.
Let’s make it opt-in again for more vanilla default experience.

Related: https://pagure.io/fedora-workstation/issue/351
2023-08-12 10:29:34 +02:00
Anderson Torres
46865e7ab8 rl-2311: mention emacs-29 update
Co-authored-by: Atemu <atemu.main@gmail.com>
Co-authored-by: adisbladis <adisbladis@gmail.com>
Co-authored-by: asymmetric <lorenzo@mailbox.org>
2023-08-10 23:45:09 -03:00
github-actions[bot]
ec1a84ef66
Merge staging-next into staging 2023-08-10 18:01:30 +00:00
Silvan Mosberger
37ba768fb4
Merge pull request #241871 from mobusoperandi/doc-doc-syntax-chapter
doc syntax section into chapter, link from nixos manual
2023-08-10 16:11:25 +02:00
github-actions[bot]
66d14ccd84
Merge staging-next into staging 2023-08-08 06:01:31 +00:00
Franz Pletz
9640eb3970
Merge pull request #246029 from ehmry/eris-go 2023-08-08 06:18:03 +02:00
github-actions[bot]
b536c72108
Merge staging-next into staging 2023-08-06 12:02:05 +00:00
Nick Cao
90c77d8891
Merge pull request #246842 from frederictobiasc/mautrix-whatsapp-module
nixos/mautrix-whatsapp: init
2023-08-06 03:21:25 -06:00
github-actions[bot]
687b501234
Merge staging-next into staging 2023-08-05 18:01:37 +00:00
Maximilian Bosch
2ddb1453e6
nixos/nextcloud: make php settings additive
Right now, the settings aren't additive which means that when I do

    services.nextcloud.phpOptions."opcache.interned_strings_buffer = "23";

all other options are discarded because of how the module system works.

This isn't very nice in this case, though because wanting to override
a single option doesn't mean I want to discard the rest of the -
reasonable - defaults. Hence, the settings are showed as default in the
option's manual section, but are added with normal priority.

That means, to override _all_ options at once, an expression like

    services.nextcloud.phpOptions = mkForce {
      /* ... */
    };

is needed. This is also way more intuitive IMHO because the `mkForce`
explicitly tells that everything will be modified.

Also, APCu enable and the memory & file-size limits are also written
into `services.nextcloud.phpOptions` rather than adding them
silently before passing all options to the PHP package. This has the
benefit that users will realize on evaluation time that they configured
options that would otherwise be set by the module on its own.
2023-08-05 11:58:11 +02:00
Vladimír Čunát
d5732d9669
Merge branch 'staging-next' into staging 2023-08-05 07:45:29 +02:00
Jan Malakhovski
775f21b9fd doc: add a release note about proper sourceRoot usage 2023-08-03 16:32:06 +00:00
jthulhu
e85228766c pharo: old -> 10.0.5 2023-08-03 16:57:58 +02:00
Martin Weinelt
667c4f2dc6
Merge pull request #224635 from helsinki-systems/drop/dhcpd
dhcpd: remove
2023-08-03 15:12:06 +02:00
Martin Weinelt
f699824f6e
python310Packages.django: migrate to django_4
3.2 LTS ran out of mainstream support in 2021/12 and we should probably
stay on the latest LTS release, that receives mainstream support.
2023-08-03 14:35:34 +02:00
Frédéric Christ
a71889c042 mautrix-whatsapp: Add release notes 2023-08-02 21:38:12 +02:00
Bruno BELANYI
8bbf6a3281 release-notes: note breaking woodpecker update 2023-08-01 11:05:08 +00:00
Alexandre Iooss
24a04f48c1 suricata: 6.0.13 -> 7.0.0 2023-08-01 11:04:18 +00:00
Maximilian Bosch
9f6ed8c2b2
nixos/release-notes: use redis as example for extras in synapse
postgres isn't such a good idea actually because it's added by default
to the wrapper.
2023-07-31 19:27:22 +02:00
Maximilian Bosch
638460ab9f
nixos/release-notes: reword section for synapse wrapper changes 2023-07-31 18:20:29 +02:00
digital
9d78971007
nixos/boot/initrd-network: add option to enable udhcpc (#240406)
In some setups, and especially with sytemd-networkd becoming more widely
used, networking.useDHCP is set to false. Despite this, it may be useful
to have dhcp in the initramfs.
2023-07-31 16:08:56 +02:00
Weijia Wang
2d69842838
Merge pull request #245931 from soupglasses/pkg/ns-usbloader-7.0
ns-usbloader: init at 7.0
2023-07-31 11:56:30 +02:00
Sofi
3273352d05
ns-usbloader: init at 7.0 2023-07-29 19:28:32 +02:00
Emery Hemingway
354821c1e8 nixos/eris-server: init 2023-07-29 11:56:58 +01:00
rewine
4e90ab6cca release-notes: add new services wayfire 2023-07-28 18:58:20 -03:00
ajs124
413d9d3864 nixos/dhcp(46): remove
package reached its EOL on 2022-10-04
see https://www.isc.org/blogs/isc-dhcp-eol/ for details
2023-07-28 16:35:40 +02:00
Janik
6a830314d4
Merge pull request #243947 from totoroot/update/cloud-sql-proxy-2.5.0 2023-07-27 22:55:49 +02:00
Silvan Mosberger
a7e5800273
Merge pull request #243062 from mobusoperandi/doc_watchexec
nixpkgs/NixOS manuals: devmode feature
2023-07-27 16:11:18 +02:00
Eric Bailey
8c068dfddb helmfile-wrapped: init
nixos/doc/manual: add release notes for helmfile-wrapped
2023-07-26 16:59:16 -05:00
nikstur
9b4d3b840e nixos/systemd-sysupdate: init 2023-07-26 20:33:31 +02:00
Pol Dellaiera
5763cc6221
Merge pull request #232491 from 6t8k/20230517_nixos_manual_installing_partitioning
nixos/manual: rectify partitioning commands for UEFI/GPT
2023-07-26 15:12:51 +02:00
Aaron Andersen
8d85dcea22
Merge pull request #215247 from evan-goode/evdevremapkeys
nixos/evdevremapkeys: init
2023-07-25 08:45:54 -04:00
Shahar "Dawn" Or
a064709342 nixpkgs/NixOS manuals: devmode feature
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-07-25 17:03:15 +07:00
Alejandro Sanchez Medina
a49d40a005 nixos manual: extract some build paths
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-07-25 17:03:12 +07:00
asymmetric
46df012d2a
Merge pull request #244332 from SuperSandro2000/fonts-fonts
nixos/fonts: rename fonts.fonts option to fonts.packages, other cleanups
2023-07-25 09:49:25 +02:00
Sandro Jäckel
83793ca898
nixos/fonts: rename fonts.enableDefaultFonts to fonts.enableDefaultPackages
to better fit the renamed fonts.packages
2023-07-25 00:55:25 +02:00
Eric Bailey
3e36355e44
kops: 1.26.4 -> 1.27.0 (#245208)
- Drop kops_1_24
- kops_1_26: 1.26.4 -> 1.26.5
- Update 23.11 release notes
2023-07-24 20:07:52 +02:00
Sandro Jäckel
5162df3239
nixos/fonts: rename fonts.fonts option to fonts.packages, other cleanups
fonts.fonts is not a great name and this also resolves a TODO.
2023-07-24 17:34:37 +02:00
github-actions[bot]
41e6556ad3
Merge master into staging-next 2023-07-22 18:01:06 +00:00
Ryan Lahfa
c4ae17443e
Merge pull request #244233 from oddlama/init-typesense-bin 2023-07-22 18:47:45 +02:00
oddlama
234dd85da0
nixos/typesense: init at 0.24.1 2023-07-22 16:38:13 +02:00
github-actions[bot]
045f0259fe
Merge master into staging-next 2023-07-22 12:01:28 +00:00
1000101
f63d863fde
nixos/pgbouncer: init (#241578)
Co-authored-by: Marek Mahut <marek.mahut@gmail.com>
2023-07-22 12:49:23 +02:00
github-actions[bot]
a400aea596
Merge master into staging-next 2023-07-21 12:01:17 +00:00
Nathan Bijnens
ffc3eb7c16 ebusd: new module 2023-07-21 18:22:46 +09:00
rnhmjoj
15a61635a3
nixos/release-notes: mention new Jool module 2023-07-21 09:08:40 +02:00
github-actions[bot]
37df58121d
Merge master into staging-next 2023-07-20 12:01:16 +00:00
Evan Goode
be333da51f nixos/evdevremapkeys: init
Add a service for evdevremapkeys (already packaged), a daemon for
remapping keyboard events
2023-07-19 23:06:31 -04:00
Antoine Eiche
da65d1dd20 nixos/osquery: init 2023-07-19 16:55:29 +02:00
github-actions[bot]
7f01b5d24b
Merge master into staging-next 2023-07-19 00:02:11 +00:00
Robert Hensing
13222d8d86
Merge pull request #242135 from tfc/test-driver-doc-autogen
Integration Test Driver: Improve documentation, Sync Docs with Code docstrings
2023-07-18 21:17:44 +02:00
Martin Weinelt
1076c3ada6
nixos/matrix-synapse: Allow passing extras, discover extras from config
With this change we allow the user to configure extras, exposed as
optional-dependencies on the matrix-synapse package.

The vertical integration between package, user configuration and
deployment is a huge boon which then allows us to dynamically adapt the
python environment the service runs in, by inspecting the configuration
and autodiscovering certain used extras from config paths.
2023-07-18 17:53:27 +02:00
Matthias Thym
ffb261fdb7 Note breaking change for cloud-sql-proxy 2023-07-17 12:13:22 +02:00
github-actions[bot]
786f620d45
Merge staging-next into staging 2023-07-16 12:01:41 +00:00
Colin
e7059632c6 nixos/trust-dns: init
Co-authored-by: Yt <happysalada@tuta.io>
2023-07-16 15:24:10 +08:00
Jan Tojnar
cea188cbbb Merge branch 'staging-next' into staging
Conflicts:
 - pkgs/tools/networking/shadowfox/default.nix between e989daa65f and 1c29673fcc
 - pkgs/tools/networking/wuzz/default.nix between 7d80417710 and 1c29673fcc
2023-07-16 02:20:49 +02:00
Artturi
d1abbbd9b6
Merge pull request #242309 from Artturin/ananicyextraxadd 2023-07-16 00:43:45 +03:00
Yureka
e16a75d3be
redis: use system jemalloc (#243398)
* redis: use system jemalloc
2023-07-15 13:02:13 -05:00
pennae
45ae0efbbc
Merge pull request #243271 from woojiq/keyd-support-multiple-configs
nixos/keyd: add support for multiple configuration in different files
2023-07-15 13:59:57 +02:00
woojiq
2d3bf20086 nixos/keyd: add support for multi-file configuration
Add `keyboards` option to define different configurations for different IDs. This creates the appropriate files in `/etc/keyd` instead of just `default.conf` as before.
Add `23.11` release note entry.
Add `mkRemovedOptionModule` for the old API with a note on how to revert the old behavior.
2023-07-15 11:33:41 +03:00
github-actions[bot]
407ebc6fd7
Merge staging-next into staging 2023-07-15 06:01:54 +00:00
adisbladis
110489e12a
Merge pull request #243373 from adisbladis/pict-rs_0_4
pict-rs: 0.3.3 -> 0.4.0
2023-07-15 12:36:05 +12:00
github-actions[bot]
972652b656
Merge staging-next into staging 2023-07-14 12:02:21 +00:00
David Dunn
9a06420006
go-ethereum: 1.11.6 -> 1.12.0
Release notes:
https://github.com/ethereum/go-ethereum/releases/tag/v1.12.0
2023-07-14 11:36:17 +03:00
adisbladis
4d790c7c98 nixos/doc: Add pict-rs upgrade notice to 23.11 release notes 2023-07-14 17:46:27 +12:00
github-actions[bot]
c796e255b3
Merge staging-next into staging 2023-07-14 00:03:13 +00:00
Artturin
1c29673fcc treewide: go-modules -> goModules
In 787af0f79f
I had to change ${go-modules} to $goModules to allow overrideAttrs to work;
However, env vars cannot contain -, so  i had to change go-modules too.
This in turn broke nix-update because it uses the go-modules attr.

Instead of making nix-update more complicated, make go-modules naming match cargoDeps.

`fd --type f | xargs sd '\bgo-modules\b' 'goModules'`
and revert change to pkgs/applications/misc/dstask/default.nix
and pkgs/servers/http/dave/default.nix
and pkgs/os-specific/darwin/plistwatch/default.nix

release note added
2023-07-14 00:18:06 +03:00
Will Fancher
11fec97761
Merge pull request #183314 from DeterminateSystems/optional-swraid
Make swraid optional
2023-07-13 16:24:34 -04:00
Artturin
4cf8006173 nixos/ananicy: take listOf attrs instead of string 2023-07-12 20:13:03 +03:00
Cabia Rangris
d857b1261c
Merge pull request #241667 from cyberus-technology/outline-0.70.0
outline: 0.69.2 -> 0.70.2
2023-07-12 14:45:40 +04:00
Alexander Sieg
b926effb76
outline: 0.69.2 -> 0.70.2 2023-07-12 09:54:57 +02:00
Linus Heckemann
c0f963a338 boot.initrd.services.swraid -> boot.swraid
Since the option affects both stage-1 and stage-2, it does not make
sense to keep it within the boot.initrd namespace.
2023-07-10 20:20:08 +02:00
Linus Heckemann
0b277bcc2b nixos/swraid: make entire module optional
swraid support will now only be enabled by default if stateVersion is
older than 23.11. nixos-generate-config will now generate explicit
config for enabling support if needed.
2023-07-10 16:39:35 +02:00
Alejandro Sanchez Medina
ad224d61d0 nixos manual contributing link to nixpkgs syntax
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-07-10 15:56:42 +07:00
Jacek Galowicz
846ad444c7 integration test driver: Auto-generate integration test driver's machine
method documentation of nixos docs from python doc strings
2023-07-10 08:51:52 +02:00
Ryan Lahfa
7be83143e8
Merge pull request #222536 from oddlama/master 2023-07-08 14:36:18 +02:00
Ryan Lahfa
0d2f526dbb
Merge pull request #241462 from SuperSandro2000/remove-ddclient 2023-07-08 14:33:00 +02:00
Ryan Lahfa
828633d36a
Merge pull request #241534 from samueldr/fix/finally-deprecate-boot-loader-raspberrypi 2023-07-08 14:16:27 +02:00
Emily
3a79936b45
Merge pull request #217536 from sephii/caddy-reload
nixos/caddy: add support for reload
2023-07-04 22:57:24 +02:00
Samuel Dionne-Riel
a6e61a1ea9 nixos: Formally deprecate boot.loader.raspberryPi
The whole option set was recommended against since mid-2019, and never
worked with the Raspberry Pi 4 family of devices.

We should have deprecated it in early 2020 for removal by 2021. At the
time I did not feel confident in making such a decision, and never
ended-up getting around to it.

The ***only*** supported-by-NixOS boot methods for AArch64 are
standards-based boot methods, namely UEFI or the pragmatically
almost-standard extlinux-compatible for U-Boot.

You can quote me on that.
2023-07-04 13:42:57 -04:00
Sandro Jäckel
d35df28f65
ddclient: remove package and module on upstream maintainer request 2023-07-04 16:46:53 +02:00
Sylvain Fankhauser
1f0ac736b4
nixos/caddy: add support for reload 2023-07-04 11:25:05 +02:00
Dominique Martinet
668f528b6c nixos/ankisyncd: use ankisyncd-rs instead of the old python one
Unfortunately the config is not compatible; data itself looks like it was compatible
from an up to date python ankisyncd but I wouldn't assume anything with the older
service (which didn't work for me with either ankidroid or recent desktop version)
2023-07-04 18:14:17 +09:00
Ryan Lahfa
9f2cff4e0a
Merge pull request #240913 from gabriel-doriath-dohler/MCHPRS 2023-07-03 01:14:24 +02:00
gabriel-doriath-dohler
04c830db01 nixos/mchprs: init module
Co-authored-by: Ryan Lahfa <masterancpp@gmail.com>
2023-07-02 23:59:59 +00:00
Ryan Lahfa
7672c1e9ae
Merge pull request #201907 from Tom-Hubrecht/fail2ban 2023-07-02 13:57:47 +02:00
oddlama
1fa9f03eec
nixos/hostapd: rewrite to support multi-AP, password from file, and more
At this point this is basically a full rewrite of this module, which
is a breaking change and was necessary to properly expose the useful
parts of hostapd's config. The notable changes are:

- `hostapd` is now started with additional systemd sandbox/hardening options
- A single-daemon can now manage multiple distinct radios and BSSs, which is
  why all configuration had to be moved into `hostapd.radios`
- By default WPA3-SAE will be used, but WPA2 and WPA3-SAE-TRANSITION are
  supported, too
- Added passwordFile-like options for wpa and sae
- Add new relevant options for MAC ACL, WiFi5, WiFi6 and WiFi7 configuration
- Implements RFC42 as far as reasonable for hostapd
- Removes `with lib;`
2023-07-02 13:32:41 +02:00
oddlama
4bec3f2043
hostapd: enable new stable features such as WiFi6 and structure .config
These changes are important to support modern APs configurations.
Short overview:

- CONFIG_IEEE80211AX support (WiFi6)
- CONFIG_SAE_PK (pubkey authenticated WPA3)
- CONFIG_DRIVER_NONE (standalone RADIUS server)
- CONFIG_OCV (Operating Channel Validation)
- Enable epoll on linux systems
- Remove deprecated TKIP support
- Fix misspelling (CONFIG_INTERNETWORKING != CONFIG_INTERWORKING)
- The .config was restructured into sections to reflect the
  upstream defconfig order and for easier updating in the future
2023-07-02 13:31:38 +02:00
Pol Dellaiera
b9e160aef4
Merge pull request #240945 from nh2/consul-1.16.0
consul: 1.15.3 -> 1.16.0
2023-07-01 23:06:32 +02:00
Niklas Hambüchen
64ded123c6 release-notes: Mention Consul 1.16 upgrade 2023-07-01 18:36:07 +02:00
Niklas Hambüchen
080757c6c5 nixos/vaultwarden: Bind to localhost by default. See #100192 2023-07-01 15:35:28 +02:00
Sven Slootweg
6e95ba2260
docs: clarify videoDrivers breakage in release notes 2023-07-01 13:48:51 +02:00
Tom Hubrecht
208ee8b2e2 nixos/fail2ban: use attrsets for settings instead of strings 2023-06-30 22:27:40 +02:00
Michele Guerini Rocco
aedc167ecf
Merge pull request #240325 from 999eagle/update/searxng
nixos/searx: add configuration for redis and limiter settings
2023-06-30 22:22:43 +02:00
David McFarland
d19ab9f1da nixos/gnupg: fix pinentryFlavor documentation and add release note 2023-06-30 10:22:38 -03:00
Sophie Tauchert
0aa5adef62
nixos/searx: add configuration for redis and limiter settings 2023-06-30 07:38:59 +02:00
Pol Dellaiera
958fb96b56
Merge pull request #240394 from gaelreyrol/prometheus-php-fpm-exporter-init
prometheus-php-fpm-exporter: init at 2.2.0
2023-06-29 09:55:42 +02:00
Thane Gill
6092b1b8b8 Fix typo in 23.05 release notes 2023-06-29 08:07:45 +02:00
Gaël Reyrol
cba0a200b0
nixos/doc: new prometheus.exporters addition 2023-06-28 22:11:36 +02:00
maralorn
26b42078cf
Merge branch 'master' into haskell-updates 2023-06-28 19:07:41 +02:00
Gaël Reyrol
3a4e234b07
services/calibre-server: Add new http & auth options (#216497)
nixos/doc: add calibre-server new options
2023-06-28 14:06:47 +02:00
Michele Guerini Rocco
bf0b22ff02
Merge pull request #240292 from sysvinit/sysvinit/initrd-udev-docs
nixos/manual: rename references to services.udev.initrdRules
2023-06-28 10:43:00 +02:00
github-actions[bot]
0aaf2b2ebc
Merge master into haskell-updates 2023-06-28 00:14:55 +00:00
Gaël Reyrol
e11f06a951
services/prometheus/exporters: add scaphandre 2023-06-27 20:50:58 +02:00
Molly Miller
f13c890b59 nixos/manual: rename references to services.udev.initrdRules
This option was renamed to boot.initrd.services.udev.rules.
2023-06-27 14:36:49 +02:00
Janik
946c3f8c51
Merge pull request #214063 from michaelshmitty/anuko-timetracker 2023-06-27 13:19:44 +02:00
Michael Smith
7532dbaa32 nixos/anuko-time-tracker: init 2023-06-27 12:30:33 +02:00
Naïm Favier
3ef988ce97
Merge pull request #237259 from ncfavier/extraDependencies-path
nixos/top-level: change extraDependencies from packages to paths
2023-06-27 11:59:06 +02:00
Naïm Favier
14d3e5685a
lib/types: add pathInStore 2023-06-27 11:48:08 +02:00
Doron Behar
01dcd2906f
Merge pull request #237698 from uninsane/pr/sequoia-0.30.1
sequoia: 0.28.0 -> 0.30.1
2023-06-27 07:30:11 +00:00
maralorn
0e87c159c8
Merge branch 'master' into haskell-updates 2023-06-26 22:57:50 +02:00
Doron Behar
51c7b1f7f6 python3Packages.pysequoia: init at 0.1.14
Also, make `python3Packages.sequoia` throw a message regarding it's
replacement of `python3Packages.sequoia`. The main sequoia-pgp/sequoia
repository doesn't ship Python code since 0.25.0, just a binary.
2023-06-26 13:16:53 +03:00
github-actions[bot]
054d9759ed
Merge master into staging-next 2023-06-26 00:02:44 +00:00
Philipp Kern
cd0d3ad344 nixos/release-notes: Add a note about Hashcash being removed from spamassassin. 2023-06-25 09:39:30 +00:00
github-actions[bot]
6cd94a8935
Merge master into haskell-updates 2023-06-25 00:16:24 +00:00
github-actions[bot]
527dfc0676
Merge master into staging-next 2023-06-25 00:02:52 +00:00
Elis Hirwing
3bb3859049
php: Upgrade from PHP 8.1 to 8.2 as default PHP 2023-06-24 15:11:18 +02:00
github-actions[bot]
63593ca89e
Merge master into haskell-updates 2023-06-24 00:15:05 +00:00
github-actions[bot]
ea69de970d
Merge master into staging-next 2023-06-23 18:01:07 +00:00
pennae
50a780ce5c
Merge pull request #237824 from drupol/add-guacamole-server-and-client
{guacamole-server,guacamole-client}: init at 1.5.2
2023-06-23 15:41:50 +02:00
github-actions[bot]
3b00d0c96f
Merge master into haskell-updates 2023-06-23 00:16:37 +00:00
github-actions[bot]
fc5ef80184
Merge staging-next into staging 2023-06-22 12:02:08 +00:00
Alyssa Ross
0f2191f3b2
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/compilers/gcc/11/default.nix
2023-06-22 06:23:16 +00:00
github-actions[bot]
0312d8f750
Merge master into haskell-updates 2023-06-22 00:13:26 +00:00
Pol Dellaiera
8a02abacab
doc: add entry in 23.11 release notes 2023-06-21 22:11:44 +02:00
Thomas Gerbet
84c0cb1471 php: drop PHP 8.0
Closes #224505
2023-06-21 22:09:16 +02:00
Franz Pletz
5224f298f0
Merge pull request #235202 from SuperSandro2000/intel-vaapi-driver 2023-06-21 20:15:17 +02:00
maralorn
0f1be08db8
Merge branch 'master' into haskell-updates 2023-06-19 23:22:52 +02:00
github-actions[bot]
535ef0a591
Merge staging-next into staging 2023-06-19 18:02:35 +00:00
pennae
c8b4e5d557
Merge pull request #237557 from pennae/dedocbookify-nixos
nixos/doc: dedocbookify
2023-06-19 14:05:03 +02:00
github-actions[bot]
b3fcbe4087
Merge staging-next into staging 2023-06-17 18:01:42 +00: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
github-actions[bot]
31ad33733f
Merge staging-next into staging 2023-06-17 06:01:45 +00: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]
f76683b6c6
Merge staging-next into staging 2023-06-16 12:01:42 +00: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]
1f284f93a5
Merge staging-next into staging 2023-06-14 12:01:48 +00: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]
603503c663
Merge staging-next into staging 2023-06-13 18:02:10 +00:00