1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
Commit graph

111 commits

Author SHA1 Message Date
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
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
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
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
github-actions[bot] 55843b9385
Merge master into haskell-updates 2023-06-14 00:13:02 +00: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
github-actions[bot] d7d5b41882
Merge staging-next into staging 2023-06-13 12:02:04 +00:00
github-actions[bot] 51c0c12cd4
Merge master into staging-next 2023-06-13 12:01:28 +00:00
Sandro 9183a72d11
Merge pull request #232862 from misuzu/gotosocial-init 2023-06-13 11:36:46 +02:00
Maximilian Bosch fc0b849538
Merge pull request #236458 from DeterminateSystems/glibc-getent-split
glibc: split getent into its own output
2023-06-13 11:35:57 +02:00
github-actions[bot] 9dc5849025
Merge master into staging-next 2023-06-13 00:02:27 +00:00
Linus Heckemann 4d649f2b63 glibc: split getent into its own output
Many dependents only require getent and not all the locale generation
tools that are included in the `bin` output. This can save some
closure size!
2023-06-12 10:26:52 +02:00
maralorn fc3668a3ab
haskellPackages: Use separate bin output for multiple packages 2023-06-11 19:40:28 +02: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] dd60d8ee46
Merge staging-next into staging 2023-06-05 12:01:45 +00: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] e97d10016c
Merge staging-next into staging 2023-06-04 18:01:37 +00:00
figsoda df34ed4185
Merge pull request #235204 from figsoda/text2 2023-06-04 13:02:55 -04:00
Sefa Eyeoglu bd97ff5ff4 nixos/fontconfig: Change default antialiasing style to greyscale instead of subpixel
fontconfig before version 2.13.1 was apparently implicitly not using
subpixel antialiasing. The fontconfig NixOS module deviated from this,
using subpixel antialiasing with `rgb` layout by default. In fontconfig
2.14.1, subpixel antialiasing was inadvertently enabled as the default:
2b6afa02ab

According to https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337,
that deviates from GNOME/GTK’s defaults, which resulted in apps taking the
settings directly from fontconfig (e.g. Firefox) from diverging from GNOME
programs.

The change was subsequently reverted in 2.14.2, choosing the greyscale
antialiasing explicitly: 030759b74f
Let’s reflect this default setting in the NixOS module.

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-06-03 16:02:22 +02:00
Gabriel Fontes 147668b8cf nixos/sitespeed-io: init 2023-06-03 03:12:51 +00:00
Weijia Wang e921ee7fdf
Merge pull request #235298 from eliasnaur/master
nixos/doc/manual: add release notes for util-linux on Darwin
2023-06-01 20:04:18 +02:00
Weijia Wang 076e3d55c0
Merge pull request #234043 from figsoda/pypi
python3.pkgs.fetchPypi: deprecate in favor of top-level fetchPypi
2023-06-01 19:56:32 +02:00
Elias Naur f970e996fc nixos/doc/manual: add release notes for util-linux on Darwin
This is a follow-up to PR #232713.
2023-05-31 18:25:11 -06:00
figsoda ffbf6f27c9 python3.pkgs.fetchPypi: deprecate in favor of top-level fetchPypi 2023-05-31 13:48:06 -04:00
figsoda 137dd249c5 writeTextFile: revert workaround for executable = null 2023-05-31 09:25:18 -04:00
emilylange d0af39521b
nixos/acme-dns: init 2023-05-31 15:08:37 +02:00
Bobby Rong 838dad5de9
Merge pull request #234231 from bobby285271/add/xdg-desktop-portal-xapp
xdg-desktop-portal-xapp: init at 1.0.0
2023-05-28 10:52:30 +08:00
Thomas Gerbet 85f15277d0 etcd: switch to etcd_3_5 2023-05-28 08:04:43 +10:00
Ryan Lahfa 77a1c48cca
Merge pull request #232011 from GaetanLepage/river
nixos/river: init module
2023-05-27 22:30:51 +02:00
Raito Bezarius 69bb0f94de nixos/nginx: first-class PROXY protocol support
PROXY protocol is a convenient way to carry information about the
originating address/port of a TCP connection across multiple layers of
proxies/NAT, etc.

Currently, it is possible to make use of it in NGINX's NixOS module, but
is painful when we want to enable it "globally".
Technically, this is achieved by reworking the defaultListen options and
the objective is to have a coherent way to specify default listeners in
the current API design.
See `mkDefaultListenVhost` and `defaultListen` for the details.

It adds a safeguard against running a NGINX with no HTTP listeners (e.g.
only PROXY listeners) while asking for ACME certificates over HTTP-01.

An interesting usecase of PROXY protocol is to enable seamless IPv4 to
IPv6 proxy with origin IPv4 address for IPv6-only NGINX servers, it is
demonstrated how to achieve this in the tests, using sniproxy.

Finally, the tests covers:

- NGINX `defaultListen` mechanisms are not broken by these changes;
- NGINX PROXY protocol listeners are working in a final usecase
  (sniproxy);
- uses snakeoil TLS certs from ACME setup with wildcard certificates;

In the future, it is desirable to spoof-attack NGINX in this scenario to
ascertain that `set_real_ip_from` and all the layers are working as
intended and preventing any user from setting their origin IP address to
any arbitrary, opening up the NixOS module to bad™ vulnerabilities.

For now, it is quite hard to achieve while being minimalistic about the
tests dependencies.
2023-05-26 19:48:26 +02:00
Bobby Rong 36abd7c9f8
nixos/cinnamon: enable portals by default 2023-05-26 23:53:15 +08:00
Ryan Lahfa 435237d641
Merge pull request #233350 from GrahamDennis/grahamdennis/testing-networks
nixos/qemu-vm: add option for named network interfaces
2023-05-26 15:57:01 +02:00
Weijia Wang 67e3953505 foundationdb: default to foundationdb71 2023-05-25 01:08:10 +03:00
Gaetan Lepage 8f421acbc5 nixos/river: init module 2023-05-25 00:05:23 +02:00
Syboxez Blank 47a2d457b0 clonehero: 0.23.2.2 -> 1.0.0.4080
Co-authored-by: Kira Bruneau <kira.bruneau@pm.me>
2023-05-24 17:07:32 -04:00
Graham Dennis 93502aa3b1 nixos/qemu-vm: add option for named network interfaces
Adds a new option to the virtualisation modules that enables specifying explicitly named network interfaces in QEMU VMs.
The existing `virtualisation.vlans` option is still supported for cases where the name of the network interface is irrelevant.
2023-05-24 08:54:20 +10:00
Bobby Rong 44b98d80ea
rl-2311: Add placeholder entries
This fixes manual-combined validation.
2023-05-23 12:59:58 +08:00
Raito Bezarius 2c28f1de7c 23.11 is Tapir 2023-05-22 21:16:04 +02:00