Commit Graph

46578 Commits

Author SHA1 Message Date
RMT
fc46ecd8c9
nixos/strongswan: update start_action option 2024-12-01 22:34:44 +08:00
misuzu
07a96b2499
nixos/installation-device: make openssh settings a default (#339786) 2024-12-01 16:32:13 +02:00
misuzu
f608d1b3bc
nixos/acme: fix cert ownership assert for string SupplementaryGroups (#356064) 2024-12-01 16:31:01 +02:00
github-actions[bot]
ede548fffd
Merge master into staging-next 2024-12-01 12:05:29 +00:00
Rick van Schijndel
35a2fc6117
nixos/aria2: allow fine tuning download file permissions (#359045) 2024-12-01 11:52:02 +01:00
Bruno BELANYI
35435a647a nixos/localtimed: fix 'geoclue2Package' doc 2024-12-01 10:41:30 +00:00
Aleksana
a94c29f625
privatebin: fix description typo (#360424) 2024-12-01 18:36:43 +08:00
Doron Behar
32ad523bd5
nixos/documentation: Link Devhelp files (#218123) 2024-12-01 11:25:40 +02:00
TNE
12f0948900 nixos/tests/nat: Create more broad and detailed testing conditions
This code is mostly from #279629, the uninvoled client checks were removed (since they are the same as the direct connection to the client test) and the tests were adjusted to work as intended as well as bugs fixed.
In some cases, some tests are skipped when they do not make sense for the specific configuration that is being tested.
2024-12-01 09:36:03 +01:00
TNE
46b2df60a5 nixos/nat: Allow NAT to still function when a forward default DROP iptables rule is in effect.
This allows feature parity with the nftables "filterForward" firewall option when adding a ip forwarding default drop iptables rule.
2024-12-01 09:36:02 +01:00
TNE
622376ecb0 nixos/nat: Prevent NAT reflection on connections not coming from behind the NAT 2024-12-01 09:36:02 +01:00
TNE
6cb4e7d591 nixos/nat: Only connections made to the nat.externalIP will be port forwarded. 2024-12-01 09:36:02 +01:00
Pol Dellaiera
c5150dd981
firefly-iii: 6.1.21 -> 6.1.24, firefly-iii-data-importer: 1.5.6 -> 1.5.7 (#355838) 2024-12-01 08:59:37 +01:00
github-actions[bot]
63300a1942
Merge master into staging-next 2024-12-01 06:04:53 +00:00
Tomodachi94
ac35b10480
nixos/java: No bashisms in environment.shellInit script (#294121) 2024-11-30 17:19:13 -08:00
github-actions[bot]
f66e210086
Merge master into staging-next 2024-12-01 00:18:35 +00:00
Michele Guerini Rocco
39728bf9bd
nixos/tests/networking: fix GRE test (#360349) 2024-11-30 22:33:47 +01:00
Adam C. Stephens
33b9d57c65
incus: fix container tests from image rename (#360305) 2024-11-30 15:04:26 -05:00
Azat Bahawi
130bb06af1
nixos/zapret: extra features (#356339) 2024-11-30 21:08:58 +03:00
github-actions[bot]
3dec3c32af
Merge master into staging-next 2024-11-30 18:04:14 +00:00
Tristan Ross
1819817298
Release 24.11 (#359948) 2024-11-30 06:55:53 -08:00
Emily
8221c09ff5
nixos/lib/test-driver: fix linting after compatibility clean‐up
The previous commit removed the handling of `dict` arguments, but
didn’t adjust the type, leading to the following type-checking error:

    test_driver/driver.py:216: error: Argument 1 to "NixStartScript" has incompatible type "str | dict[Any, Any]"; expected "str"  [arg-type]

It also left an unused import that Ruff is unhappy about:

    build/lib/test_driver/driver.py:11:22: F401 [*] `colorama.Fore` imported but unused
    …
    build/lib/test_driver/driver.py:11:28: F401 [*] `colorama.Style` imported but unused

Fixes: 71306e6b36
(cherry picked from commit d490680530)
(cherry picked from commit ff31b814b6)
2024-11-30 15:11:39 +01:00
Wolfgang Walther
a92ea1ff26
nixos/lib/test-driver: remove legacy args handling
Scheduled for removal in 24.11, so let's follow through.

Added in #291544.

(cherry picked from commit 71306e6b36)
(cherry picked from commit 8427b6f640)
2024-11-30 15:11:38 +01:00
pascal
e06fd90239
privatebin: fix description typo 2024-11-30 14:30:15 +01:00
Bobby Rong
4e0999e058
nixosTests.vscodium: Workaround OCR tests (#360404) 2024-11-30 20:54:48 +08:00
Bobby Rong
cd45cfe9c4
nixosTests.vscodium: Workaround OCR tests
An attempt to help https://hydra.nixos.org/build/279535629/nixlog/1.

The "Get Started with" text is much easier to find.
Also scale vscodium to help OCR find the "Untitled" text.
2024-11-30 20:42:46 +08:00
Thomas Gerbet
33f830be76
moodle: 4.4.1 -> 4.4.3 (#334639) 2024-11-30 13:08:19 +01:00
rnhmjoj
9cb83c2af4
nixos/tests/networking: fix GRE test
More fallout from c6f6c282.
2024-11-30 09:51:44 +01:00
Leona Maroni
2ba711361f
gitlab: 17.3.7 -> 17.5.2 (#360160) 2024-11-30 09:51:21 +01:00
Franz Pletz
357fff0f44
nixos/networkd: allow configuring RTTSec for CAKE qdisc (#285737) 2024-11-30 07:25:54 +01:00
Franz Pletz
18cf9ad14b
nixos/networkd: fix eval
Broken by #330662.
2024-11-30 07:08:18 +01:00
Franz Pletz
e383460f09
nixos/networkd: add dhcpServerConfig.PersistLeases option (#353189) 2024-11-30 06:46:51 +01:00
Franz Pletz
e5a4cc81ab
nixos/networkd: add some new options in systemd 256 (#330662) 2024-11-30 06:44:55 +01:00
Adam C. Stephens
c494726b98
incus: fix container tests from image rename 2024-11-30 00:08:02 -05:00
Adam C. Stephens
9ab59bb5fb
incus: format 2024-11-30 00:04:54 -05:00
Aleksana
8ad72fe696
nixos/doc/rl-2505: add omnom (#360188) 2024-11-30 12:57:36 +08:00
Aleksana
88bd81e177
gkraken,nixos/gkraken: Drop (#358200) 2024-11-30 10:54:30 +08:00
Jeff Huffman
f2ad84dc9b
doc: fix/improve NIXOS_LUSTRATE installation instructions 2024-11-29 21:30:00 -05:00
jopejoe1
e16d20f2ba
nixos/version: allow overriding, use 24-bit colour code (#351736) 2024-11-29 23:04:39 +00:00
Silvan Mosberger
33cca9243a
rl-2411: lib release notes (#359887) 2024-11-30 00:03:22 +01:00
Fernando Rodrigues
02e1f93cb4
nixos/version: add extraOSReleaseArgs and extraLSBReleaseArgs
A free-form `attrsOf str` option that is merged with the /etc/os-release
builder, allowing downstreams to customise arbitrary os-release fields.
This is separate from the variant option, as using an attribute set
merge means one gets an infinte recursion when making extraOSReleaseArgs
a recursive set, and the variant attribute is useful to define elsewhere
or multiple times.

Ditto for /etc/lsb-release.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-29 19:58:29 -03:00
Fernando Rodrigues
b4d7b9ade2
nixos/version: use 24-bit ANSI colour code
It's almost 2025; we don't need to use 3-bit colour anymore. Let's use
the proper colour code for NixOS' light blue:
ea1384e183/logo/README.md (colours)

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-29 19:56:30 -03:00
jopejoe1
bf5d64a130
nixos/os-release: make default_hostname distribution default (#359571) 2024-11-29 22:54:21 +00:00
Silvan Mosberger
64de6c47ca rl-2411: lib release notes 2024-11-29 23:02:14 +01:00
Jonas Chevalier
223586a617
virtualisation: Use system.build.image, normalize file names (#359339) 2024-11-29 22:54:17 +01:00
Robert Schütz
61f3a9680a nixos/prometheus.exporters.unifi: drop
The corresponding package was dropped in 826bef9b51.
2024-11-29 22:49:29 +01:00
Maximilian Bosch
cf28257e4f
Merge: percona-server_8_0: 8.0.37-29 -> 8.0.39-30, percona-server: 8.4.0-1 -> 8.4.2-2 (#359824) 2024-11-29 22:16:16 +01:00
Maximilian Bosch
c055f6bc0a
nixos/mysql: fix evaluation of percona test
Commit e14483d6a6 fixed a bug in the `ini`
type with `listsAsDuplicatedKeys = true;`: multiple list declarations
weren't merged, but latter declarations shadowed the former without any
error.

The fix brought another issue to surface however: before, the
`plugin-load-add` declaration in the MySQL test shadowed the
`auth_socket.so` setting in the module. But now the attempt
to merge a list and a single declaration breaks because of
`types.either` seeing a mix of declarations from the left
AND right type.

Turning the `plugin-load-add` in the module into a list triggers the
correct merging behavior and thus fixes the evaluation error (and
merging behavior of `plugin-load-add`)!

This wasn't an issue for mysql itself (empty `plugin-load-add` in the
test) and neither for mariadb (the `auth_socket.so` isn't added for
this).
2024-11-29 21:55:49 +01:00
eljamm
a344bfd09a
nixos/doc/rl-2505: add omnom 2024-11-29 19:24:01 +01:00
Philip Taron
a403221cb8
treewide/nixos: remove with lib; part 3 (#335623) 2024-11-29 10:10:53 -08:00
Fedi Jamoussi
b9da4f27d9
nixos/omnom: init module (#357830) 2024-11-29 18:34:24 +01:00
Alexander Sieg
eebd4c3b01
gitlab: 17.3.7 -> 17.5.2 2024-11-29 17:51:19 +01:00
phaer
c78003c4e0 image/images: Add image modules defined in virtualisation/ 2024-11-29 17:13:54 +01:00
phaer
91d74082c4 virtualisation/proxmox-lxc: use system.build.image 2024-11-29 17:13:54 +01:00
phaer
06ad3811a8 virtualisation/lxc-container: use system.build.image 2024-11-29 17:13:52 +01:00
phaer
f3563c996e virtualisation/azure-image: use system.build.image 2024-11-29 17:12:27 +01:00
phaer
77fce1dc58 virtualisation/digital-ocean: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
41db5209c7 virtualisation/google-compute: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
a230d5228d virtualisation/hyperv-image: hyperv.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
6d50a8c57f virtualisation/kubevirt: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
d8410d8366 virtualisation/oci-image: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
a0ce661c99 virtualisation/proxmox-image: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
342a5021df virtualisation/vagrant-virtualbox: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
6cc7449e30 virtualisation/virtualbox: virtualbox.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
b0b3a75676 virtualisation/vmware-image: vmware.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
47c83cb438 virtualisation/linode-image: Use system.build.image 2024-11-29 17:12:26 +01:00
phaer
40142caad0 format files with nixfmt 2024-11-29 17:12:26 +01:00
Adam C. Stephens
6de1312a38
nixos/lxc/container: fix useDhcp with veth (#358806) 2024-11-29 10:45:09 -05:00
Adam C. Stephens
f50a1bd99d
nixos/lxc/container: fix useDhcp with veth
https://github.com/NixOS/nixpkgs/pull/347283 changed the default to
exclude non-physical network Kind, but that unfortunately also includes
`veth` which LXC uses for its network interfaces. Re-enable that
functionality so users can use networkd with useDHCP.
2024-11-29 10:37:14 -05:00
Tristan Ross
a0559c7b2b
Release 24.11 2024-11-29 06:28:22 -08:00
Sefa Eyeoglu
854baca4aa
nixos/renovate: unset service restart (#359403) 2024-11-29 15:22:05 +01:00
Priyanshu Tripathi
836d207c6c
nixos-render-docs-redirects: init (#357383)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-11-29 15:03:08 +01:00
Silvan Mosberger
b4fd89b737 rl-2411: Match to release branch
This specific change was already done before the branch-off in
https://github.com/NixOS/nixpkgs/pull/346059, but
https://github.com/NixOS/nixpkgs/pull/335832 reverted it accidentally
on master after the branch-off.
2024-11-29 12:39:09 +01:00
Silvan Mosberger
300d4f73bd
release notes: Move cacheNetwork note to 25.05 (#359946) 2024-11-29 12:34:53 +01:00
Matthew Croughan
49d26b7cd6
nixos/scion: fix nixosTest dates and validity period for TRCs (#360098) 2024-11-29 10:30:58 +00:00
matthewcroughan
1e925a2dfd nixos/scion: fix nixosTest dates and validity period for TRCs
The validity period for TRCs cannot be set to an rfc3339 date, only an
offset from the current system time, which if set to 3650d rather than
36500d will still give us quite a long time before it becomes invalid,
which is acceptable for the time being.
2024-11-29 10:22:40 +00:00
Jörg Thalheim
14877193e2
doc/release-notes: init wiki section (#360006) 2024-11-29 11:21:45 +01:00
Victor Engmark
7389d32232
nixos/cupsd: Fix permissions on shared directories
`/var/cache`, `/var/lib`, and `/var/spool` all have 0755 permissions by
default, so should probably be created as such in this script.

See #357447 for discussion.
2024-11-29 21:50:04 +13:00
Silvan Mosberger
d60e537249
release notes: Move agorakit to 25.05 (#359942)
release notes: Move agorakit to 2505

It's not included in 2411
2024-11-29 01:37:13 +01:00
Sandro
1d62a85ff5
nixos/mailman: add option to expand the uwsgi settings (#333315) 2024-11-29 00:53:55 +01:00
seth
319cef6187 doc/release-notes: init wiki section 2024-11-28 18:26:40 -05:00
Victor Engmark
bfe7bb410f nixos/printing: fix ShellCheck issues
ShellCheck reports the following:

> SC2174 (warning): When used with -p, -m only applies to the deepest
> directory.

Avoid this warning by splitting `mkdir -m MODE -p DIR` into
`(umask MASK && mkdir -p DIR)`.
2024-11-28 22:41:11 +01:00
Silvan Mosberger
c8aeacd0ae release notes: Move cacheNetwork note to 25.05
It's not included in 24.11
2024-11-28 21:13:14 +01:00
Felix Buehler
07894f4f30 nixos/services.stunnel: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
93d6b8180e nixos/services.oink: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
2d4a4c110a nixos/services.nylon: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
2bf4393a9b nixos/networking.nftables: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
83cc2cd01f nixos/services.nebula: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
e14d1dc198 nixos/services.ncdns: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
e4ffb753b1 nixos/services.glusterfs: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
4dbf3a75ae nixos/services.drbd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
44985668d8 nixos/services.diod: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
a9748cc118 nixos/services.cachefilesd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
5f44beaebb nixos/services.watchdogd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
e8e5c6c79b nixos/services.vnstat: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
cc88c367bb nixos/services.uptime-kuma: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
6974870a0a nixos/services.tuptime: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
307f280e81 nixos/services.tremor-rs: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
851d23320b nixos/services.telegraf: remove with lib; 2024-11-28 19:08:40 +01:00
Felix Buehler
8eb355e978 nixos/services.sysstat: remove with lib; 2024-11-28 19:08:40 +01:00