Commit Graph

45459 Commits

Author SHA1 Message Date
phaer
c6da9ef32d modules/virtualisation: add unified diskSize opt
See https://github.com/NixOS/nixpkgs/pull/339535 and https://github.com/NixOS/nixpkgs/pull/341058
2024-10-27 12:28:37 +01:00
Aleksana
a56b4f3e50
nixos/wrappers: add enable switch (#350233) 2024-10-27 18:34:01 +08:00
Jacek Galowicz
2eace81769
nixos/anki-sync-server: add setting (#344724) 2024-10-27 11:09:55 +01:00
Yarny0
9bca42857a nixos/tests/printing: test cases for domain socket only config
Add two new vm tests for the printing configuration that
test `listenAddresses = []`, i.e., the situation where cups
only listens on the unix domain socket `/run/cups/cups.sock`.

This helps catching bugs like this:

https://github.com/OpenPrinting/cups/issues/985
https://github.com/NixOS/nixpkgs/pull/337748
2024-10-27 10:52:02 +01:00
Yarny0
2e48883fc4 nixos/tests/printing: inherit lib 2024-10-27 10:47:31 +01:00
Yarny0
1693e1acc0 nixos/tests/printing: fix race of lpstat and ensure-printers
There is a nasty race condition in the cups tests.
To understand what is going on, one must first note that
printers are installed in the vms with ensure-printers.service,
which is started as part of multi-user.target.
ensure-printers.service in turn triggers a start of
cups.service as it needs to connect to the local cups daemon.

This is what happens when the test runs:
1  the test waits for cups.socket or cups.service to start up
   (subtest "Make sure that cups is up on both sides...")
2  after cups.service started
   (it starts even in the "socket" case,
   triggered by ensure-printers.service),
   ensure-printers.service is started
3  the test tries to connect to the cups daemons via curl
   (subtest "HTTP server is available too")
4  the test verifies the required printers are installed
   ("lpstat -a" called by subtest "LP status checks")

Usually, 3 needs some time, so ensure-printers.service
already installed all printers that are required by 4.
But if 3 is too fast, or if ensure-printers.service is too slow,
4 fails to find the printers it is looking for.

One can provoke the problem by adding

> systemd.services.ensure-printers.serviceConfig.ExecStartPre = "/run/current-system/sw/bin/sleep 10";

to the `nodes.client` configuration.

The commit at hand fixes the problem by changing 1:
Instead of waiting for cups,
it now waits for ensure-printers.service
(which in turn waits for cups.service and cups.socket).
This is also in accordance with the
subtest description in the code that promises to
"Make sure that cups is up [...] and printers are set up".
2024-10-27 10:45:38 +01:00
Robert Schütz
2eb3286d9d
mollysocket: 1.4.1 -> 1.5.1 (#351569) 2024-10-26 23:22:06 -07:00
Robert Schütz
db2dcfb6f7 mollysocket: 1.4.1 -> 1.5.1
Diff: https://github.com/mollyim/mollysocket/compare/1.4.1...1.5.1

Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.5.1
2024-10-26 21:58:15 -07:00
Martin Weinelt
8195804e5d
nixos/sftpgo: add extraReadWriteDirs option and fix docs links (#315619) 2024-10-26 22:34:45 +02:00
Sandro Jäckel
8f96ccf1ff
nixos/dysnomia: move into services 2024-10-26 22:01:19 +02:00
Sefa Eyeoglu
60900303b5
corefreq: init at 1.98.4 (#330049) 2024-10-26 21:54:36 +02:00
Francesco Gazzetta
00d5b58b53 release-notes: Mention the new tclPackages scope 2024-10-26 16:23:15 +00:00
Emily
7f753fb746
nixos/systemd: Enable systemd-machine-id-commit.service (#351151) 2024-10-26 15:56:09 +01:00
Martin Weinelt
5e10c1522b
nixos/avahi-daemon: set up sandboxing (#348406) 2024-10-26 16:22:04 +02:00
Martin Weinelt
ca4f13857c
nixos/coturn: set up sandboxing (#348396) 2024-10-26 16:21:46 +02:00
Sandro Jäckel
729a6f3bd7
nixos/lib/testing: remove alias usage 2024-10-26 14:30:45 +02:00
Michele Guerini Rocco
9a415c28ae
dhcpcd: fix more permissions errors (#351225) 2024-10-26 02:00:23 +02:00
Zhaofeng Li
67bef9e807
nixos/prometheus: Add AWS Signature Version 4 support to remote_write configs (#181883) 2024-10-26 01:24:30 +02:00
Maciej Krüger
e907f6aa04
odoo: fix tests and update to 18.0 (#346397) 2024-10-26 01:21:04 +02:00
rnhmjoj
483e44684d
dhcpcd: fix permissions error with secondary IPv4 addresses
If dhcpcd receives a secondary IPv4 address from the DHCP server it
tries to enable automatic promotion from secondary to primary by writing
`1` to /proc/sys/net/ipv4/conf/%s/promote_secondaries.
2024-10-25 21:33:30 +02:00
rnhmjoj
8fafc35158
resolvconf: reliably set group permissions
If `resolvconf` is invoked by a process not running with the resolvconf
group as primary group, other processes will run into trouble as files
or directories under /run/resolvconf won't have write permissions.

This ACL rule ensure that resolvconf files, include new files created by
any process, are always accessible by users of the resolvconf group.
2024-10-25 21:33:30 +02:00
Felix Bühler
29cdb4373e
pptpd: prefer 'install' over 'chmod/chown' (#308085) 2024-10-25 20:48:22 +02:00
Frédéric Christ
8f4b41cfd4 nixos/systemd: Enable systemd-machine-id-commit.service
Prior to this contribution, every boot with a default configuration was
considered `ConditionFirstBoot=true` by systemd, since /etc/machine-id
was not commited to disk.

This also extends the systemd with a check for subsequent boots not
being considered first boots.
2024-10-25 14:03:15 +02:00
Rémi NICOLE
0433962e5b
netbox: 3.7.8 -> 4.1.3 (#331750) 2024-10-25 09:09:06 +00:00
Leona Maroni
a378c72099
youtrack_2022_3: drop (#349356) 2024-10-24 22:46:57 +02:00
Felix Buehler
ca63cb8a24 nixos/bazarr: normalize description 2024-10-24 22:39:43 +02:00
Emily
500f4dcf2b
nixos/switchable-system: add evaluation warning when using perl stc (#350945) 2024-10-24 16:59:43 +01:00
Jared Baur
9bbef50e24
nixos/switchable-system: add evaluation warning when using perl stc 2024-10-24 08:50:51 -07:00
Masum Reza
c87f82b6aa
nixos/sway: workaround idle inhibit not working in Firefox (#348792) 2024-10-24 19:48:30 +05:30
Jared Baur
81f92fbc29
nixos/switchable-system: nixfmt 2024-10-24 06:22:58 -07:00
Sefa Eyeoglu
15aad9d3a1
nixos/ntpd: cleanup; add tests (#349633) 2024-10-24 15:21:01 +02:00
Martin Weinelt
8a2439f1c2
nixos/avahi-daemon: set up sandboxing 2024-10-24 15:04:14 +02:00
Maximilian Bosch
e7d631432f
Merge: nixos/nginx: create 127.0.0.1 alias for status page (#349536) 2024-10-24 12:49:10 +02:00
Ivan Mincik
9067c29c9a qgis: add server support 2024-10-24 09:35:24 +02:00
Ramses
fe8daa8bac
nixos/niri: init module (#348193) 2024-10-24 09:20:35 +02:00
rcerc
42d887adbf nixos/supplicant: Always provide a first configuration file argument
`wpa_supplicant` refuses to start when `configFile.path == null` because this
omits the `-c` (‘Configuration file’) option, which it requires even if the
`-I` (‘additional configuration file’) option is provided. If `configFile.path
== null`, pass `extraConfFile` with `-c` instead of `-I` to prevent this.
2024-10-24 08:25:02 +02:00
Michele Guerini Rocco
f93d86f657
nixos/getty: add option to autologin once per boot, take 2 (#348236) 2024-10-24 07:59:10 +02:00
Masum Reza
14dc2c8a36
release-notes-24.11/zapret: fix path to option (#350086) 2024-10-24 10:46:25 +05:30
Aleksana
e567db4156
nixos/manual: enhance appimage instructions (#350793) 2024-10-24 12:36:35 +08:00
Will Fancher
c1479242ad
Remove unnecessary loop in stc-ng (#348668) 2024-10-23 23:42:34 -04:00
Luke Granger-Brown
9e3e014de1
nixos/factorio: add allowedPlayers option to manage the whitelist (#350769) 2024-10-23 23:47:53 +01:00
Matthieu Coudron
5c8ff2e60c
nixos/immich: use 'immich' as syslog identifier (#350551)
use 'immich' as syslog identifier

seeing 'immich' instead of the generic 'server' in journalctl is more understandable
2024-10-24 00:15:19 +02:00
Jack Wilsdon
464e353fcc nixos/klipper: fix serial value inheritance 2024-10-23 22:32:26 +01:00
zi3m5f
20ebe18d2c
nixos/manual: enhance appimage instructions
Following a bug report (#350383) about `appimage-run` missing a
shared library, add instructions to nixos manual.
2024-10-23 23:02:33 +02:00
Ryan Horiguchi
449a963b0e nixos/nginx: create 127.0.0.1 alias for status page 2024-10-23 22:41:00 +02:00
Minijackson
4409a8d78f
nixos/netbox: increase timeout for NetBox pre-start script
since the script does database migrations and index,
it could timeout on slower system with a big enough database
2024-10-23 21:07:35 +02:00
Minijackson
69610ea296
netbox: switch to netbox_4_1, mark netbox_3_7 as EOL
also switch the netbox-upgrade test to check upgrade from 3.7 -> 4.1
2024-10-23 21:07:32 +02:00
Minijackson
c0e16ebce5
netbox_4_1: init at 4.1.3 2024-10-23 21:07:30 +02:00
Minijackson
97815535fb
netbox_4_0: init at 4.0.11
Migrate to pkgs/by-name,
and update the test so that it passes for all versions

This version is added as EOL, since NetBox 4.1 is out,
but it might be still useful in case of an upgrade issue.
2024-10-23 21:07:28 +02:00
Ben Millwood
c37e40d9ff nixos/factorio: add allowedPlayers
This writes a whitelist file and instructs the server process to use it.
I opted not to give the same treatment to the banlist because (as
explained in the comments) mutability and persistence seems more
important for bans, and they're less often known in advance.
2024-10-23 18:19:05 +01:00
teutat3s
7e7a06994f
nixos/sway: workaround idle inhibit not working
in Firefox

Source:
https://www.reddit.com/r/swaywm/comments/1dqud2a/how_to_get_firefox_to_inhibit_idle_when_watching/
> Firefox supports the Wayaland inhibit protocol, but it attempts to use the DBus interfaces first. However, the gtk portal has an issue where it returns success even though the wlr portal/sway doesn't have an implementation for the inhibit method, see #465.
2024-10-23 18:34:47 +02:00
Nick Cao
ef5045c670
nezha-agent: 0.18.5 -> 0.20.2 (#347544) 2024-10-23 12:17:09 -04:00
Robert Hensing
868c371827
refactor: Use modular NixOS test entrypoint (#350436) 2024-10-23 17:48:28 +02:00
andre4ik3
c42b24b3f4
nixos/apple-touchbar: init module (#350219) 2024-10-23 17:14:34 +02:00
Ben Millwood
43377c06f3 nixos/factorio: correct extraSettings example
"admins" isn't a server setting, so this example wouldn't actually work.
"max_players" is the first thing I saw in the [example server settings
file][1] that hasn't already been encoded in the options.

[1]: https://github.com/wube/factorio-data/blob/master/server-settings.example.json
2024-10-23 16:11:58 +01:00
Ivan Mincik
6b2e9097a4
qgis: don't build with grass by default (#350203) 2024-10-23 12:44:43 +00:00
Ivan Mincik
ddb45dcd05 qgis: don't build with grass by default
Update nixos/doc/manual/release-notes/rl-2411.section.md

Co-authored-by: zi3m5f <113244000+zi3m5f@users.noreply.github.com>
2024-10-23 14:43:22 +02:00
Moraxyc
61567875e5
nixos/nezha-agent: add some options for new features 2024-10-23 20:22:37 +08:00
Shaurya Shubham
a4b68ba2c4 nixos/nix-gc: Update nix.gc.dates description to be more precise 2024-10-23 22:17:49 +11:00
Jörg Thalheim
9584ba7f85 nixos/buildbot: use python version used of the buildbot package
Since the buildbot package can be overwritten, it can be build against a
different python version.
This pull request makes sure we don't use the wrong python version.
This makes using buildbot-nix easier for both nixpkgs unstable and
nixpkgs stable.
2024-10-23 22:16:55 +11:00
Ramses
f73e31408d
prometheus-klipper-exporter: init at v0.11.2 (#348187) 2024-10-23 09:48:17 +02:00
Wulfsta
e13a31e4bf prometheus-klipper-exporter: init at v0.11.2 2024-10-23 01:55:47 -04:00
phanirithvij
4b7c3e65bd odoo17: init
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-23 10:22:20 +05:30
Yt
e7d7f71c0b
nextcloudPackages.whiteboard: init at 1.0.4; nextcloudPackages: update (#342773) 2024-10-22 19:04:21 -04:00
Sandro
70e46c586f
doc/misc/docker-registry: fix extraConfig docs (#349495) 2024-10-22 21:06:38 +02:00
Franz Pletz
eae71219ea
nixos/wakapi; fix logical errors; add NixOS test (#350435) 2024-10-22 19:02:05 +02:00
Someone
c53153d5b8
nvidia-container-toolkit: nvidia driver: don't enable, assert enabled (#350339) 2024-10-22 13:13:55 +00:00
Martin Weinelt
053637c50c
maintainers: remove myself from packages that I don't really maintain anymore (#350453) 2024-10-22 12:51:23 +02:00
Martin Weinelt
cc2a580af3
pretalx: 2024.2.1 -> 2024.3.0 (#350361) 2024-10-22 12:50:20 +02:00
Kerstin Humm
b12bcabd24
maintainers: remove erictapen from packages that I don't really maintain anymore 2024-10-22 12:32:29 +02:00
Robert Hensing
df4376d0fd nixosTests.nixos-rebuild-target-host: Explain fix for switch-to-configuration-ng 2024-10-22 11:39:44 +02:00
NotAShelf
05d349dd29
nixos/tests: add wakapi 2024-10-22 12:33:25 +03:00
NotAShelf
a466f14627
nixos/wakapi: fix incorrect assertion conditions
Using implication here (->) causes the assertions to fail haphazardly due to the ordering *implied* by the operator. By using AND, we avoid this case. Unsurprisingly, this was caught by the NixOS test.
2024-10-22 12:27:24 +03:00
Robert Hensing
d6ea764629 nixosTests.nixos-rebuild-specialisations: Use modular entrypoint
Modernize it. This allows the test to be extended, and pkgs to be
reused (later) to speed up evaluations a bit.
I believe this also makes it run on darwin hosts, but my linux-builder's
disk is too small to fit the massive closure of this test.

(cherry picked from commit 1396a03bee18a0993a4f3e97fda8938ff61c2918)
2024-10-22 11:12:35 +02:00
Robert Hensing
3362ec8692 nixosTests.nixos-rebuild-target-host: Use modular entrypoint
Modernize it. This allows the test to be extended, and pkgs to be
reused (later) to speed up evaluations a bit.
I believe this also makes it run on darwin hosts, but my linux-builder's
disk is too small to fit the massive closure of this test.

(cherry picked from commit 8c06d2cf667106dd440e7c140e70051dc1c321cb)
2024-10-22 11:11:50 +02:00
NotAShelf
fbec0c0d7f
nixos/wakapi: fix failing assertions 2024-10-22 12:05:02 +03:00
NotAShelf
c3ce64b13a
nixos/wakapi: fix typo in warning conditional
This makes the warning work as intended again.
2024-10-22 11:59:09 +03:00
Tomo
b4cc2146d9
{nodePackages,vimPlugins}.{coc-tslint,coc-tslint-plugin}: drop (#349660) 2024-10-21 21:39:12 -07:00
seth
942b12caba
nixos/niri: init module 2024-10-21 21:00:17 -04:00
Martin Weinelt
7d2fd18921
nixos/pretalx: feature the files.upload_limit setting
The default of 10 MiB might be too constraining for slide decks and
collateral in 2024.
2024-10-22 02:49:29 +02:00
Martin Weinelt
bd281d0259
pretalx: 2024.2.1 -> 2024.3.0
https://docs.pretalx.org/changelog/#v2024-3-0
2024-10-22 02:43:51 +02:00
Rafael Fernández López
3f119f80a5
nvidia-container-toolkit: assert nvidia driver is present
Also, do not add the `nvidia` driver to `videoDrivers` automatically;
assert it is present (or the datacenter one) instead.
2024-10-22 00:05:26 +02:00
Tomo
0003fd75d8 {nodePackages,vimPlugins}.coc-tslint{,-plugin}: drop
Both deprecated upstream:
https://github.com/neoclide/coc-tslint
https://github.com/neoclide/coc-tslint-plugin

coc-eslint provides comparable features and is maintained.

Part of #229475
2024-10-21 21:10:02 +00:00
Atemu
1f1ad7e0fe
doc/configuration/wayland: add link to wiki page about Sway (#349344) 2024-10-21 20:26:14 +02:00
teutat3s
ff40e745b8
nixos/doc/configuration/wayland: remove redundant snippet
We already configure the wlr portal by default in wayland-session.nix.
2024-10-21 18:20:12 +02:00
Aaron Hall, MBA
f295624943
nixos/doc/configuration/wayland: add link to Sway wiki page
Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>
2024-10-21 18:19:40 +02:00
Jonas Heinrich
345a761d13 nixos/nextcloud-whiteboard-server: init 2024-10-21 15:49:23 +00:00
Leona Maroni
dc14253a18
nixos/youtrack: drop support for YouTrack 2022.3 2024-10-21 17:36:23 +02:00
Pablo Andres Dealbera
24be165be3 nixos/bazarr: add 156 as a valid SuccessExitStatus 2024-10-21 12:34:15 -03:00
Franz Pletz
26a699af7b
nixos/nginx: remove rejectSSL assertion (#350224) 2024-10-21 16:58:12 +02:00
Tom Fitzhenry
692b12ceea nixos/tests/spiped: init 2024-10-22 00:26:29 +11:00
nikstur
7fad2c2e39 nixos/wrappers: add enable switch
Add enable switch to make it possible to disable all wrappers but then
also re-enable all at once by forcing the option to be true.

By default the wrappers are enabled and thus the default behaviour
doesn't change.
2024-10-21 14:41:17 +02:00
Izorkin
b93bbf6406
nixos/nginx: remove rejectSSL assertion 2024-10-21 14:49:53 +03:00
Yt
a71d327ded
ejabberd: 23.10 -> 24.07 (#320617) 2024-10-21 05:23:32 -04:00
Martin Weinelt
6306bf790e
matrix-sliding-sync: drop
On the 2024 matrix conference the EOL for the sliding-sync-proxy was
announced to be 2024-10-15. While the repo does not yet reflect that
state, we should not be taking the the sliding-sync proxy into NixOS
24.11 under any circumstances.
2024-10-20 23:19:33 +02:00
Fernando Rodrigues
b6cb0d1d07
release-notes-24.11/zapret: fix path to option
`option.html#opt-services.zapret` is an invalid path to what should be
`options.html#opt-services.zapret`.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-10-20 19:09:40 +00:00
Sefa Eyeoglu
99b100cc3a
nixos/pam: Strip config in documentation and messages (#341562) 2024-10-20 21:00:06 +02:00
K900
5c00a1355b
nixos/systemd-boot: fix substituteAll usage (#350081) 2024-10-20 21:49:36 +03:00
K900
c42028339a nixos/systemd-boot: fix substituteAll usage
Missed this one :(
2024-10-20 21:45:57 +03:00
Sefa Eyeoglu
05b9e0a09f
bazarr: allow overriding package in module (#334521) 2024-10-20 20:45:57 +02:00