Commit graph

46570 commits

Author SHA1 Message Date
Sarah Brofeldt
e9f2b975df nixos/gitlab: fix ardeterministic secret
Spelling error cropped up in the 24.11 backport only
2025-06-03 14:52:22 +02:00
Sandro Jäckel
6bd2e92c11
nixos/mediagoblin: fix initial media reprocessing with gmg
Running `mediagoblin-gmg reprocess initial` before would fail with
missing GST_PLUGIN_PATH and tools in PATH.

(cherry picked from commit 81d2a488e6)
2025-06-02 15:49:37 +02:00
Sandro Jäckel
3d129e705a
nixos/mediagoblin: fix gmg argument parsing
Before the argument to mediagoblin-gmg would be passed to the actual command
and the rest to sh which is obviously nonsense.

(cherry picked from commit dd63ca898e)
2025-06-02 15:49:01 +02:00
Wolfgang Walther
d56c496a68
[Backport release-24.11] nixos/ollama: Fix systemd service doesn't use AMD GPU (#406411) 2025-05-24 08:39:24 +00:00
Wolfgang Walther
ca9226122e
[Backport release-24.11] nixos/mailman: hyperkitty needs mailman-web-setup (#404430) 2025-05-24 08:31:04 +00:00
toborwinner
323f2d7bc6 nixos/specialisation: escape and restrict specialisation names
Prevent the specialisation names from containing a forward slash.
Also escape them to allow for spaces in specialisation names.

(cherry picked from commit 2b9fc0ccc5)
2025-05-17 17:47:49 +00:00
Leona Maroni
e93de65b20
varnish77: init at 7.7.0
(cherry picked from commit 98d6f4dc0a)
2025-05-15 09:50:31 +02:00
Christian Theune
842d9ba4e5
varnish76: init at 7.6.1
(cherry picked from commit 0129b83a02)
2025-05-15 09:44:47 +02:00
Martin Weinelt
192e75d6fe nixos/frigate: create model cache dir
In 0.15.1 frigate has a logic error that makes it not ensure the model
cache dir exists before using it.

A workaround has been committed for newer versions, so we can drop this
on the next release.

Fixes: #402813
(cherry picked from commit a74a23885d)
2025-05-13 19:26:24 +00:00
a
fee1b14d1c Resolves #405846
(cherry picked from commit 1d483cbef1)
2025-05-12 10:12:42 +00:00
Leona Maroni
d46405db38
[24.11] nixos/gitlab: add activeRecord key files (#405051) 2025-05-12 08:41:03 +02:00
Wolfgang Walther
b11e4e627c various: fix parse errors for nix 2.3
Path interpolation syntax is not supported in the minimum nix version.

(cherry picked from commit 8980c1f7fc)
2025-05-11 10:28:33 +00:00
r-vdp
c0912454bd systemd-initrd: migrate test to runTest and add comment for syntax highlighting of test script
(cherry picked from commit ed70f0089d)
2025-05-08 14:26:35 +00:00
r-vdp
49373c27c7 systemd-initrd: add test to ensure that the permissions on the systemd generators are correct
(cherry picked from commit 01b589a7f8)
2025-05-08 14:26:35 +00:00
Wolfgang Walther
f662d2cf80
.editorconfig: move subfolder config into separate .editorconfig files
This avoids paths in the top-level file getting out-of-sync, because the
.editorconfig files would be moved together with the files they target.

(cherry picked from commit c8d2eca963)
2025-05-08 09:06:29 +02:00
Leona Maroni
96dae1a8a7
nixos/gitlab: add activeRecord key files
GitLab 17.11 started using rails activeRecord encryption for some values.
Introduce new key files.

For the future there should also be an option to set multiple activeRecord
keys for rotation.

(manual backport from a95a530883 with diff behavior)
2025-05-07 22:42:18 +02:00
Alyssa Ross
28f90a1bf7 nixos/mailman: hyperkitty needs mailman-web-setup
qcluster won't be happy if it's started before the database migrations
have been run.

	12:25:47 [Q] ERROR Failed to pull task from broker
	Traceback (most recent call last):
	  File "/nix/store/w5ndmidmkiy02vvgl7cxx1fkzc1pichg-python3-3.12.9-env/lib/python3.12/site-packages/django/db/backends/utils.py", line 89, in _execute
	    return self.cursor.execute(sql, params)
	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "/nix/store/w5ndmidmkiy02vvgl7cxx1fkzc1pichg-python3-3.12.9-env/lib/python3.12/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
	    return super().execute(query, params)
	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	sqlite3.OperationalError: no such table: django_q_ormq

(cherry picked from commit afdbf499ac)
2025-05-05 18:06:48 +00:00
Alexander Sieg
a589700467 nixos/snipe-it: clear and rebuild caches on startup
(cherry picked from commit 5205c8b5ca)
2025-04-29 19:36:56 +00:00
Wolfgang Walther
2ea6370e4f
[Backport release-24.11] home-assistant-custom-components.benqprojector: init at 0.1.3 (#401747) 2025-04-26 16:31:25 +00:00
Wolfgang Walther
f7cd0603d3
[Backport release-24.11] nixos/immich: restrict media filesystem permissions (#397140) 2025-04-26 16:10:44 +00:00
Maximilian Bosch
ce2c24086d
Merge: [Backport release-24.11] nixos/nextcloud: S3: Rename autocreate (a no-op) to verify_bucket_exists (#400857) 2025-04-26 11:37:23 +02:00
Stefan Wiehler
301574372d nixos/home-assistant: add custom components to used components query
There should be no need to add custom components without YAML configuration to
extraComponents for systemd service modifications to become effective (e.g.
serial access).

(cherry picked from commit 44dd157b6f)
2025-04-25 14:12:25 +02:00
Stefan Wiehler
07d62fef1a home-assistant-custom-components.benqprojector: init at 0.1.3
(cherry picked from commit 27eab49a9e)
2025-04-25 13:59:32 +02:00
Leona Maroni
1684051e55 nixosTests.gitlab: add minimal test for gitlab-container-registry
(cherry picked from commit cd7583a7d9)
2025-04-24 09:58:14 +02:00
Leona Maroni
4c8bce7994 nixos/gitlab: convert gitlab-registry-cert.service to oneshot
docker-registry.service has a `After` dependency on gitlab-registry-cert.
On the first start, docker-registry.service fails to start as it already
runs when gitlab-registry-cert.service starts up, and not when it finished.

(cherry picked from commit 50fc446be1)
2025-04-24 09:58:14 +02:00
Cassie Cheung
957ce46e2a
nixos/anubis: init module
(cherry picked from commit cadf4cfc83)
2025-04-23 13:33:02 +02:00
André Silva
5c3ce773b1 nixos/hyprland: fix call to wayland-session.nix
(cherry picked from commit 09879a452b)
2025-04-22 23:02:43 +00:00
Tom Hubrecht
4f2ffb6dc9 nixos/nextcloud: S3: Rename autocreate (a no-op) to verify_bucket_exists
C.f. https://github.com/nextcloud/documentation/issues/10436

Co-authored-by: Tom Herbers <mail@tomherbers.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
(cherry picked from commit 08e859c8e0)
2025-04-22 14:04:22 +00:00
Wolfgang Walther
1d02766500
[Backport release-24.11] nixos/wayland-session: fix conflicts between users (#394721) 2025-04-15 18:36:45 +00:00
Martin Weinelt
b17590193d
Backport #398396: make-initrd-ng: Restore stripped file permissions (#398397) 2025-04-13 18:10:46 +02:00
Will Fancher
1cd8c7fcfe nixos/shutdown: Create /run/initramfs with mode 0700 2025-04-13 12:02:35 -04:00
Benjamin Saunders
5f872dceb6 nixos/immich: restrict filesystem permissions
immich appears to create this directory with permissions 0755 by
default, which needlessly exposes user data to other processes.

(cherry picked from commit fd21ef2a65)
2025-04-08 15:32:02 +00:00
Jörg Thalheim
dc1d33c285 nixVersions.nix_2_24: 2.24.13 -> 2.24.14
Diff: https://github.com/NixOS/nix/compare/2.24.13...2.24.14
(cherry picked from commit ae8f07e1dd)
2025-04-07 13:23:41 +00:00
Wolfgang Walther
959ef9f938
[Backport release-24.11] nixos/dhcpcd: fix typo in documentation (#395710) 2025-04-05 19:40:09 +00:00
Neyts Zupan
16cf86bef7 paretosecurity: 0.0.96 -> 0.1.3
Also:
 * Fix PATH for systemd services
 * Make UI tests faster and more robust by setting low resolution
(cherry picked from commit 3c6b1cf6f6)
2025-04-04 12:50:10 +00:00
Vojtěch Káně
56dc1190e5 nixos/dhcpcd: fix typo in documentation
The manpage of dhcpcd says:

>If any interface reports a working carrier then dhcpcd will try to
>obtain a lease before forking to the background, otherwise it will fork
>right away.

(cherry picked from commit b25b9e656a)
2025-04-03 09:07:54 +00:00
Neyts Zupan
1150fd62a6 Take systemd configuration from upstream package instead of definiting
them in the nixos module.

(cherry picked from commit 6aaeae81ae)
2025-04-02 14:14:09 +00:00
Neyts Zupan
196d9b7442 paretosecurity: 0.0.91 -> 0.0.92
Add a test for linking a device to a team.

(cherry picked from commit 6918b78ad9)
2025-04-02 14:14:09 +00:00
Maximilian Bosch
d7b8c4d7aa nixos/nextcloud: check if ownership of config is correct
Follow-up on #169733

For `data`, Nextcloud checks on its own if everything is readable.
However, for `config` it's crucial that the ownership is actually
correct: otherwise, systemd-tmpfiles will refuse any operations inside
because of unsafe path transitions.

This can result in a subtly broken setup by the `override.config.php`
not being updated, but also not part of the system closure anymore
(another override.config.php is referenced now) which means it'll be
GCed eventually even though Nextcloud relies on it.

If this precondition is not met, the following error will be printed:

    nextcloud-setup-start[972]: /var/lib/nextcloud/config is not owned by user 'nextcloud'!
    nextcloud-setup-start[972]: Please check the logs via 'journalctl -u systemd-tmpfiles-setup'
    nextcloud-setup-start[972]: and make sure there are no unsafe path transitions.
    nextcloud-setup-start[972]: (https://nixos.org/manual/nixos/stable/#module-services-nextcloud-pitfalls-during-upgrade)

(cherry picked from commit 39dcdc5c9b)
2025-04-02 08:52:30 +00:00
Vladimír Čunát
39f5ef03e9
Merge branch 'release-24.11' into staging-next-24.11
Conflicts, mainly with nixfmt pass from 8e03b4396b:
	pkgs/by-name/gh/ghostscript/package.nix
	pkgs/development/libraries/hunspell/wrapper.nix
	pkgs/os-specific/linux/lvm2/common.nix
	pkgs/top-level/all-packages.nix
2025-04-02 08:39:30 +02:00
Silvan Mosberger
14182c1970 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.

(branch-equivalent to commit 374e6bcc40)
2025-04-01 20:11:51 +02:00
phaer
18003272f1 repart: Enable custom --empty flags in initrd
By default, systemd-repart refuses to act on empty disk devices, i.e.
those without any existing partition table for safety reasons.

This behaviour can be customized via the `--empty` flag, which we now
expose via the module system. This makes to partition empty disks
on first boot.

(cherry picked from commit d2cadf484c)
2025-04-01 08:52:54 +00:00
Seth Flynn
ae711c3e33 nixos/wayland-session: fix conflicts between users
(cherry picked from commit 4df2726a5c)
2025-03-30 20:10:22 +00:00
nixpkgs-ci[bot]
a5f36c5c09
Merge release-24.11 into staging-next-24.11 2025-03-29 00:17:18 +00:00
Jörg Thalheim
1410e361f5 nix: update nix-fallback-paths to 2.24.13
(cherry picked from commit 49a708c3f7)
2025-03-28 01:20:46 +00:00
nixpkgs-ci[bot]
bf4a678690
Merge release-24.11 into staging-next-24.11 2025-03-26 00:17:52 +00:00
Fabián Heredia Montiel
1fd16802c8 linux/hardened/patches/6.13: init at v6.13.5-hardened1
(cherry picked from commit ab23320d2d)
2025-03-25 15:22:38 +00:00
nixpkgs-ci[bot]
d61c76600e
Merge release-24.11 into staging-next-24.11 2025-03-25 00:18:10 +00:00
Wolfgang Walther
148d706482
[24.11] nextcloud31: init at 31.0.2 (#392066) 2025-03-24 18:56:26 +00:00
Weijia Wang
35760d5ff2
nixos/pixelfed: bump php version
(cherry picked from commit 9d71dc7005)
2025-03-24 17:35:57 +01:00