Commit Graph

51395 Commits

Author SHA1 Message Date
Taliyah Webb
696c2bd228 nixos/fcitx5: fix ignoreUserConfig being ignored in some cases
(cherry picked from commit 93b72119d8)
2025-07-05 11:02:22 +00:00
Dominique Martinet
f015b0cc5a nixos/nextcloud: add assertion explaining to set dbtype
Since 25.05 dbtype no longer defaults to sqlite and this yields an error
that is understandable enough but not easy to properly address.

Add an assert that is more explicit.

Before:
```
       error: The option `nodes.nextcloud.services.nextcloud.config.dbtype' was accessed but has no value defined. Try setting the option.
```

After:
```
       error:
       Failed assertions:
       - `services.nextcloud.config.dbtype` must be set explicitly (pgsql, mysql, or sqlite)

       Before 25.05, it used to default to sqlite but that is not recommended by upstream.
       Either set it to sqlite as it used to be, or convert to another type as described
       in the official db conversion page:
       https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/db_conversion.html
```

Link: https://github.com/NixOS/nixpkgs/pull/369242#issuecomment-3036296243
(cherry picked from commit 78a20758e0)
2025-07-05 08:00:57 +00:00
Morgan Jones
adf964c0de kubernetes: use util-linuxMinimal instead of util-linux.withPatches
This, and commits to k3s and util-linux close #409339.
The util-linux.withPatches API was a temporary hack for the 25.05
release to fix Kubernetes, and is going away.

While we're at it, we should use util-linuxMinimal because we do not
need things such as systemd support for kubelet initialization.

(cherry picked from commit 949e299d24)
2025-07-05 02:24:36 +00:00
Jörg Thalheim
b263408b62 Merge remote-tracking branch 'upstream/nixos-unstable' into nixos-unstable
Some checks failed
Periodic Merges (6h) / master → staging-next (push) Has been cancelled
Periodic Merges (6h) / staging-next → staging (push) Has been cancelled
Periodic Merges (24h) / master → staging-next-25.05 (push) Has been cancelled
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Has been cancelled
Periodic Merges (24h) / release-24.11 → staging-next-24.11 (push) Has been cancelled
Periodic Merges (24h) / staging-next-24.11 → staging-24.11 (push) Has been cancelled
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Has been cancelled
2025-07-04 20:03:29 +08:00
Maximilian Bosch
fda50d6f3a nixos/postgresql: add section about pg_config
See https://discourse.nixos.org/t/i-cannot-for-the-life-of-me-find-the-package-that-has-pg-config/66244/4

I decided against doing this in its own nixpkgs manual: the line
to draw is quite blurry already (e.g. we have documented our package
removal policy in here as well) and having to check two manuals for a
single subsystem feels pretty annoying to me.

The relevant part - where to find pg_config - is written at the top. I
decided to give a bit more context about the way our packaging works
since I realized a few times now that I don't remember all the details
about the problems we had in the past and having to look up individual
commit messages for that isn't very productive.

(cherry picked from commit e031c5ff6b)
2025-07-03 17:44:10 +00:00
Wolfgang Walther
aabee91c79 [Backport release-25.05] seafile: remove myself from maintainers (#421604) 2025-07-02 11:50:23 +00:00
Jörg Thalheim
bb2e250b76 [Backport release-25.05] nixVersions.nix: 2.28.3 -> 2.28.4, 2.29.0 -> 2.29.1, 2.24.14 -> 2.24.15 (#420262) 2025-07-01 23:35:43 +02:00
Greizgh
0d428dab44 seafile: remove myself from maintainers
I do not use seafile anymore and won't spend energy working on it.

(cherry picked from commit fd3d596a1c)
2025-07-01 20:14:59 +00:00
Peter Marshall
8253d26e46 nixos/tests/systemd-initrd-credentials: init
(cherry picked from commit dd15d6c248)
2025-07-01 21:04:10 +03:00
Peter Marshall
96f0f8b632 nixos/systemd-stage-1: follow systemd /run propagation
We currently bypass systemd's switch-root logic by premounting
/sysroot/run. Make sure to propagate its sub-mounts with the recursive
flag, in accordance with the default switch-root logic.

This is required for creds at /run/credentials to survive the transition
from initrd -> host.

(cherry picked from commit 7d36daa76a)
2025-07-01 21:04:10 +03:00
Bogdan-Cristian Tătăroiu
35b1c349e3 nixos/systemd-initrd: Fix fsck.xfs failing due to missing sh
When running with a xfs root partition and using systemd for stage 1
initrd, I noticed in journalctl that fsck.xfs always failed to execute.

The issue is that it is trying to use the below sh interpreter:

`#!/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/sh -f`

but the file does not exist in the initrd image.

/nix/store/xy4jjgw87sbgwylm5kn047d9gkbhsr9x-bash-5.2p37/bin/**bash**
exists since it gets pulled in by some package, but the rest of the
directory is not being pulled in.

boot/systemd/initrd.nix mentions that xfs_progs references the sh
interpreter and seems to explicitly try to address this by adding
${pkgs.bash}/bin to storePaths, but that's the wrong bash package.

Update the `storePaths` value to pull in `pkgs.bashNonInteractive`
rather than `pkgs.bash`.

(cherry picked from commit 3332613add)
2025-07-01 15:57:07 +00:00
HE7086
e20c1021e3 nixos/prometheus-wireguard-exporter: add support for new flags
(cherry picked from commit ab2dc5c3f9)
2025-07-01 10:18:38 +00:00
Wolfgang Walther
06d883d093 [Backport release-25.05] nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds. (#421205) 2025-06-30 11:28:23 +00:00
Gautier DI FOLCO
fa64557806 nixos/prometheus.alertmanagerIrcRelay: fix network-online.target ordering but not depending warning
(cherry picked from commit c689716d48)
2025-06-30 10:27:03 +00:00
Jeevan Shikaram
13877297e7 nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds.
(cherry picked from commit b10dabd009)
2025-06-30 10:25:58 +00:00
eljamm
a0728cf64a nixosTests.pixelfed.standard: handleTestOn -> runTestOn
(cherry picked from commit 0c50bbe465)
2025-06-29 07:39:42 -04:00
Martin Weinelt
5511e3836e nixos/tests/postfix-tlspol: assert empty policies for localhost
(cherry picked from commit d0218043a9)
2025-06-29 00:29:45 +02:00
Martin Weinelt
5a50dd291e nixos/postfix-tlspol: fix config reload
Since we only pass a symlink to ExecStart we need to pass the backing
file as a reload trigger.

(cherry picked from commit 7874cc6005)
2025-06-29 00:29:45 +02:00
Martin Weinelt
d12dc3121b nixos/postfix-tlspol: migrate to static user/group
This fixes postfix' membership in the postfix-tlspol group, since
memberships in a dynamically allocated group don't seem to work out.

Additionally this fixes a typo in the systemd hardening and the test now
prints the results of systemd-analyze security.

(cherry picked from commit df0eb78b31)
2025-06-29 00:29:44 +02:00
Martin Weinelt
7d4cbd07d8 nixos/postfix-tlspol: fix postfix integration
Fixes the group membership for postfix processes in the postfix-tlspol
group.

Makes the postfix.service start up after postfix-tlspol.service, because
it depends on it for the TLS policy lookups.

(cherry picked from commit 64e7fad038)
2025-06-29 00:29:44 +02:00
Ryan Yin
ef29777853 nixos/tests/minio: add ryan4yin as a maintainer
(cherry picked from commit 2493f96246)
2025-06-28 10:29:50 -04:00
Ryan Yin
1859d9f295 nixos/tests/croc: add ryan4yin as a maintainer
(cherry picked from commit 7c18f6b91a)
2025-06-28 10:29:50 -04:00
Ryan Yin
7787565509 nixos/minio: add ryan4yin as a maintainer
(cherry picked from commit aa9343b00e)
2025-06-28 10:29:49 -04:00
Ryan Yin
530ef91d55 nixos/yazi: add ryan4yin as a maintainer
(cherry picked from commit 77e9e764be)
2025-06-28 10:29:49 -04:00
Wolfgang Walther
b2b6443d87 [Backport release-25.05] nixosTests.{lomiri-camera-app,morph-browser,teleports}: Fix OCR (#416106) 2025-06-28 09:50:12 +00:00
Wolfgang Walther
2222c41287 [Backport release-25.05] lomiri.lomiri-gallery-app: 3.1.0 -> 3.1.1 (#415279) 2025-06-28 09:38:39 +00:00
Wolfgang Walther
238c8f0f62 [25.05] nixos/chrysalis: init module (#413361) 2025-06-27 19:36:53 +00:00
Wolfgang Walther
0c6f155d56 [release-25.05] xen: 4.19.1 -> 4.19.2 (#406036) 2025-06-27 19:35:47 +00:00
Adam C. Stephens
b88e84e17e [Backport release-25.05] garage_2: init at 2.0.0, move tests to runTest (#419267) 2025-06-27 10:11:40 -04:00
Maximilian Bosch
d213728990 Merge: [25.05] nixos/nextcloud: sync nginx config with upstream (#420235) 2025-06-27 15:56:43 +02:00
Connor Baker
a553bb2f16 [Backport release-25.05] nixos/hardware/nvidia: add prime.offload.offloadCmdMainProgram (#416844) 2025-06-26 14:54:12 -07:00
qubitnano
3a69ec5f15 nixos/bcachefs: include poly1305 and chacha20 kernel modules for kernel < 6.15
Kernel 6.16-rc1 removed the poly1305 algorithm in
ceef731b0e22df80a13d67773ae9afd55a971f9e

bcachefs switched to the kernel libraries for poly1305 and chacha20 in
6.15 in 4bf4b5046de0ef7f9dc50f3a9ef8a6dcda178a6d

(cherry picked from commit f9bd91aa07)
2025-06-27 03:16:55 +05:30
Wolfgang Walther
9c6636ec49 [Backport release-25.05] nixos/systemd-initrd: honor the enable option in contents (#412109) 2025-06-26 20:19:14 +00:00
Wolfgang Walther
877e737d95 [Backport release-25.05] nixos/nvidia-container-toolkit: allow to provide CSV files (#411763) 2025-06-26 20:17:56 +00:00
Adam C. Stephens
63fb9f4d6b garage_2: init at 2.0.0
https://garagehq.deuxfleurs.fr/blog/2025-06-garage-v2/
https://git.deuxfleurs.fr/Deuxfleurs/garage/releases/tag/v2.0.0

Thanks to @herbetom for providing the test updates

(cherry picked from commit b9700f766a)
2025-06-26 14:11:40 -04:00
Adam C. Stephens
3c13f2ac1d nixos/tests/garage: move to runTest
(cherry picked from commit 722607472a)
2025-06-26 14:11:40 -04:00
Wolfgang Walther
2b56e28dd4 [Backport release-25.05] nixos/fish: allow disabling completion generation (#418614) 2025-06-26 18:03:26 +00:00
Michael Daniels
7a6eda8acd treewide: remove maintainers with deleted GitHub accounts
Each of these maintainers came up in maintainers/scripts/check-maintainer-usernames.

I have manually verified that each of their IDs and usernames 404 when using the API calls
https://api.github.com/user/$ID, https://api.github.com/users/$USERNAME,
and https://api.github.com/users/$USERNAME/starred.

(cherry picked from commit f8776aff47)
2025-06-26 10:54:13 -04:00
Jörg Thalheim
04f21fbb01 nixVersions.nix: 2.28.3 -> 2.28.4
(cherry picked from commit 28e4681066)
2025-06-26 10:26:03 -04:00
teutat3s
51c458590c nixos/nextcloud: sync nginx config with upstream
Upstream changes were checked by checking out the stable31 branch of the
https://github.com/nextcloud/documentation and comparing:

git diff c1c9b0a072537544769fdd6062989a631d4fb17c admin_manual/installation/nginx-root.conf.sample

Notably, this adds the text/javascript and application/wasm mime types to the list of
gzip'ed mime types, which improves nextcloud loading in our testing.

Also adds webp support.

(cherry picked from commit 0c7a8d5255)
2025-06-26 15:09:48 +02:00
Wolfgang Walther
b81a846fce [Backport release-25.05] treewide: remove bluescreen303 as maintainer (#417458) 2025-06-26 11:07:14 +00:00
Martin Weinelt
cb3f6dc905 firefox-esr-140-unwrapped: init at 140.0esr
Together with the wrapper and the nixos test.

(cherry picked from commit b2bc7903f2)
2025-06-25 23:17:19 +02:00
Sandro
ffdcefdde9 [Backport release-25.05] nixos/waydroid: allow override waydroid, adopt (#419563) 2025-06-25 15:21:44 +02:00
r-vdp
54f759989d nixos/systemd-oomd: use the correct name for the top-level user slice
`user-.slice` does not seem to exist, and the config we generate for it is
rejected by systemd (see `systemctl status user-.slice`).
I suppose that what was really intended here, was to configure
`user.slice`, which is the one that is documented in `man systemd.special`.

Reported-by: Ian Sollars <Ian.Sollars@brussels.msf.org>
(cherry picked from commit c28b3143da)
2025-06-24 21:07:45 +00:00
Fernando Rodrigues
54dadb2a62 nixos/xen: dehardcode the .pad section from the UKI builder
Upstream, intentionally or not, no longer appends the EFI image
with a .pad section for us to hook the rest of the UKI to. This
simply dehardcodes .pad from the awk script, instead using the
very last section in the binary. (Currently .reloc)

Co-authored-by: Yaroslav Bolyukin <iam@lach.pw>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-06-24 11:13:02 -03:00
wxt
39d00bd276 nixos/waydroid: allow override waydroid
(cherry picked from commit ee0937ff0d)
2025-06-24 13:37:31 +00:00
eljamm
0d430d473b nixos/test: init omnom
(cherry picked from commit 56c4e8b5b5)
2025-06-23 20:49:10 +02:00
eljamm
b4a3d1df40 nixos/omnom: fix module
(cherry picked from commit 19c1b4250c)
2025-06-23 20:49:10 +02:00
Thomas BESSOU
c1ebdb5dd8 nixos/i3: fix i3lock default enable-ing
Prior to this commit, i3lock was enabled by default in a way that doesn't work as of 317c972e8a (diff-aef862f6fd2c25092a3f17f974d8757285bf7baff6b80822cd142b7de1903ccfR451-R454)
Users attempting to use i3lock with this default setup would get locked out of their system.

This fixes it by enabling i3lock via its `programs` option instead of specifying the package directly.

Discussion over at https://github.com/NixOS/nixpkgs/issues/401891#issuecomment-2963378189

(cherry picked from commit e82c7e5b83)
2025-06-23 13:20:59 +00:00
Wolfgang Walther
e5cb9a5ba4 nixos/immich: fix postgresql.package regression
`config.services.postgresql.package` is now only available when the
PostgreSQL module is actually enabled. If we're not using the local
database, we'll need to fallback to the latest postgresql version, since
we don't know about the remote version.

(cherry picked from commit 62d2b6d593)
2025-06-22 14:43:55 +00:00