Commit Graph

1559 Commits

Author SHA1 Message Date
h7x4
99e3c0032a
Merge pull request #281871 from RatCornu/tachidesk-server
nixos/suwayomi-server: init at 0.7.0
2024-01-19 20:19:06 +01:00
Sandro Jäckel
ee0312bcff nixos/tests/nginx: add test variant for moreheaders module 2024-01-19 18:09:53 +01:00
RatCornu
279057b779
nixos/suwayomi-server: add nixos tests 2024-01-19 02:31:33 +01:00
nikstur
e6b66f08a5 nixos/switch-to-configuration: add sysinit-reactivation.target 2024-01-18 00:46:30 +01:00
Thiago Kenji Okada
401d16acd0
Merge pull request #247256 from lucasew/xrdp-audio
xrdp: add support for audio
2024-01-16 10:06:51 +00:00
Franz Pletz
9707745cf8
nixos/ntpd-rs: init 2024-01-14 17:34:42 +01:00
Ryan Lahfa
dd5621df6d
Merge pull request #278380 from DeeUnderscore/fix/nginx-etag
nginx: change etags for statically compressed files served from store
2024-01-14 04:55:27 +01:00
Dee Anzorge
f124c73686 nginx: change etags for statically compressed files served from store
Per RFC 9110, [section 8.8.1][1], different representations of the same
resource should have different Etags:

> A strong validator is unique across all versions of all
> representations associated with a particular resource over time.
> However, there is no implication of uniqueness across representations
> of different resources (i.e., the same strong validator might be in
> use for representations of multiple resources at the same time and
> does not imply that those representations are equivalent)

When serving statically compressed files (ie, when there is an existing
corresponding .gz/.br/etc. file on disk), Nginx sends the Etag marked
as strong. These tags should be different for each compressed format
(as shown in  an explicit example in section [8.8.3.3][2] of the RFC).
Upstream Etags are composed of the file modification timestamp and
content length, and the latter generally changes between these
representations.

Previous implementation of Nix-specific Etags for things served from
store used the store hash. This is fine to share between different
files, but it becomes a problem for statically compressed versions of
the same file, as it means Nginx was serving different representations
of the same resource with the same Etag, marked as strong.

This patch addresses this by imitating the upstream Nginx behavior, and
appending the value of content length to the store hash.

[1]: https://www.rfc-editor.org/rfc/rfc9110.html#name-validator-fields
[2]:
https://www.rfc-editor.org/rfc/rfc9110.html#name-example-entity-tags-varying
2024-01-13 22:07:50 +01:00
Robert Hensing
221ad6d7ff
Merge pull request #277642 from Enzime/fix/nixos-rebuild-remote-sudo
nixos-rebuild: fix issues when using `--target-host`
2024-01-13 18:52:57 +01:00
lucasew
cf26222cc8 nixos/tests: add xrdp-with-audio-pulseaudio
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-01-13 12:42:06 -03:00
Yt
827bd96b2b
Merge pull request #280005 from digtail/2024-01-09-ntfy-sh-dynamic-user
nixos/ntfy-sh: clean up DynamicUser workarounds
2024-01-12 23:39:25 +01:00
Ryan Lahfa
08d0afbbdf
Merge pull request #239028 from chayleaf/miniupnpd
miniupnpd-nftables: init at 2.3.3
2024-01-12 20:17:33 +01:00
github-actions[bot]
122355be99
Merge master into staging-next 2024-01-10 00:02:18 +00:00
digital
39fd0c3fe3 nixos/ntfy-sh: clean up DynamicUser workarounds
this commit removes the static assignments for the ntfy-sh user and
group. furthermore, it removes some tmpfiles.d rules which where
initially put in place by https://github.com/NixOS/nixpkgs/pull/234811.
these are however not required, as ntfy-sh will automatically create the
required files and systemd automatically handles the migration process.

A nixosTest is added to demonstrate that the migration is working
reliably.

This also fixes an issue with where systemd would sometimes not start
ntfy-sh. The tmpfiles rules in combination with impermanence caused `/
var/lib/ntfy-sh` to be a directory when it should have been a symlink.
2024-01-10 00:15:50 +01:00
Peder Bergebakken Sundt
3bf05ba941
Merge pull request #271481 from eliandoran/feature/snmpd
nixos/snmpd: init
2024-01-09 21:32:27 +01:00
K900
838aefefc3 Merge remote-tracking branch 'origin/master' into staging-next 2024-01-09 22:42:37 +03:00
Herwig Hochleitner
ae34cddb51
linuxPackages.systemtap: 4.8 -> 5.0a, add nixos tests (#276840)
* nixos/tests/systemtap: init smoke test

* linuxPackages.systemtap: use --sysroot instead of -r

* nixos/tests/systemtap: rule out warnings

* linuxPackages.systemtap: smaller sysroot

* nixos/tests/systemtap: test on a few more kernels

* linuxPackages.systemtap: provide debuginfo for tracing kernel.function

* linuxPackages.systemtap: test kernel.function probe

* linuxPackages.systemtap: 4.8 -> 5.0a
2024-01-09 19:38:02 +01:00
github-actions[bot]
f85fe5fc29
Merge master into staging-next 2024-01-07 18:00:54 +00:00
Guillaume Girol
db0f76e8c9
Merge pull request #271030 from symphorien/nixseparatedebuginfod
nixseparatedebuginfod: init at 0.3.0, plus module and nixos test
2024-01-07 17:45:13 +01:00
Michael Hoang
b09de27cd6 nixos-rebuild: add --target-host test 2024-01-07 03:40:01 +11:00
Guillaume Girol
dece72548e nixseparatedebuginfod: add module and nixos test 2024-01-01 13:42:13 +01:00
github-actions[bot]
65cbf5e637
Merge master into staging-next 2023-12-31 18:01:09 +00:00
Guillaume Girol
a5cbc50912
Merge pull request #276385 from majiru/drawterm-tests
drawterm: unstable-2023-09-03 -> unstable-2023-12-23 & nixos tests
2023-12-31 15:41:26 +01:00
github-actions[bot]
dc1ce0d685
Merge staging-next into staging 2023-12-31 12:01:23 +00:00
Martin Weinelt
f142aeb3a2
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/scikit-build-core/default.nix
2023-12-31 12:00:30 +01:00
Maciej Krüger
b8a8c2cf15
Merge pull request #266332 from nbraud/nixos/tests/ssh-agent-auth
Add NixOS test for `security.pam.enableSSHAgentAuth`
2023-12-31 10:38:36 +01:00
github-actions[bot]
a9cb88c7ae
Merge staging-next into staging 2023-12-31 06:01:28 +00:00
Jan Tojnar
80020c7db4 Merge branch 'master' into staging-next
; Conflicts:
;	pkgs/development/lua-modules/generated-packages.nix
;	pkgs/development/lua-modules/overrides.nix
2023-12-31 02:31:32 +01:00
zowoq
41e3e7ef30 buildbot: 3.10.0 -> 3.10.1
Changelog: https://github.com/buildbot/buildbot/releases/tag/v3.10.1
2023-12-30 11:25:04 +10:00
github-actions[bot]
0097df9129
Merge staging-next into staging 2023-12-27 12:01:18 +00:00
github-actions[bot]
04686e4ee3
Merge master into staging-next 2023-12-27 12:00:55 +00:00
Yt
bd5ff67266
Merge pull request #261789 from onny/rspamd-trainer
nixos/rspamd-trainer: init; rspamd-trainer: init at unstable-2023-11-27
2023-12-27 11:28:42 +00:00
Jonas Heinrich
80d88736da nixos/rspamd-trainer: init; rspamd-trainer: init at unstable-2023-11-27 2023-12-27 10:35:53 +01:00
github-actions[bot]
b3ceb9c6b7
Merge staging-next into staging 2023-12-26 18:01:24 +00:00
github-actions[bot]
31febba022
Merge master into staging-next 2023-12-26 18:00:56 +00:00
Felix Bühler
d2e4e09de4
Merge pull request #276552 from r-ryantm/auto-update/freshrss
freshrss: 1.22.1 -> 1.23.0
2023-12-26 18:19:53 +01:00
github-actions[bot]
5d5f55c28d
Merge staging-next into staging 2023-12-25 00:02:44 +00:00
github-actions[bot]
88b151ed65
Merge master into staging-next 2023-12-25 00:02:15 +00:00
Felix Buehler
6fc02c6c6f nixos/freshrss: fix test http-auth 2023-12-25 01:01:20 +01:00
Doron Behar
067338523e
Merge pull request #275281 from eliandoran/feature/mympd-service
nixos/mympd: init
2023-12-24 18:43:03 +00:00
nicoo
7e70c08470 nixosTests.ssh-agent-auth: init 2023-12-24 16:00:22 +00:00
github-actions[bot]
3d36e72396
Merge staging-next into staging 2023-12-24 06:01:29 +00:00
Jacob Moody
c16ffa0a12 drawterm: add nixos tests 2023-12-23 22:53:49 -06:00
Martin Weinelt
a3e53d17b6 Merge remote-tracking branch 'origin/master' into staging-next 2023-12-24 02:39:15 +01:00
Mario Rodas
2ba8c30b4e
Merge pull request #252790 from anthonyroussel/gns3-nixos-module
nixos/gns3-server: init
2023-12-23 09:27:39 -05:00
github-actions[bot]
6ce4f409b0
Merge staging-next into staging 2023-12-22 00:02:36 +00:00
github-actions[bot]
a9a9030f1b
Merge master into staging-next 2023-12-22 00:02:09 +00:00
Pol Dellaiera
783163f959
Merge pull request #275429 from drupol/code-server/restore
code-server: restore and bump (4.16.1 -> 4.19.1)
2023-12-21 21:03:41 +01:00
github-actions[bot]
fe3a0803f6
Merge staging-next into staging 2023-12-21 18:01:22 +00:00
github-actions[bot]
63fbe1a992
Merge master into staging-next 2023-12-21 18:00:56 +00:00