Commit graph

38339 commits

Author SHA1 Message Date
Connor Baker 4fd1cfd4c7 nixos/nix-required-mounts: add driverLink symlink target to NVIDIA defaults
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
(cherry picked from commit 0b47ed1b35)
2025-07-21 17:16:44 +00:00
liberodark 04f62c8c0a peertube: remove spawn
(cherry picked from commit 1c1d6a725a)
2025-07-21 16:48:32 +00:00
Maximilian Bosch cccca5d65f
Merge: [Backport release-25.05] matrix-synapse: 1.133.0 -> 1.134.0 (#426340) 2025-07-19 11:04:37 +02:00
phaer f1ddf462ce virtualisation/disk-image: fix image.extension
(cherry picked from commit b033e0c4b6)
2025-07-18 18:35:44 +00:00
phaer 3b593dd755 sd-image: Fix image.filePath directory prefix
(cherry picked from commit 037a064feb)
2025-07-18 18:35:44 +00:00
Felix Bargfeldt b26179213a
[25.05] nixos/chhoto-url: init module (#426376) 2025-07-18 17:30:17 +02:00
Rafael Fernández López c9f2d52ace nixos/nvidia-container-toolkit: fix tests
(cherry picked from commit d287c86c08)
2025-07-18 13:32:52 +00:00
Defelo 6642acbb21
nixos/chhoto-url: init module
(cherry picked from commit 55e6f26bff)
2025-07-18 15:18:38 +02:00
transcaffeine de4f57e7bd matrix-synapse: 1.133.0 -> 1.134.0
Release notes: https://github.com/element-hq/synapse/releases/tag/v1.134.0
Full changelog: https://github.com/element-hq/synapse/compare/v1.133.0...v1.134.0

(cherry picked from commit d3bc50865f)
2025-07-18 10:47:48 +00:00
Wolfgang Walther 3b2cd78737
[Backport release-25.05] limine: 9.4.0 -> 9.5.0, limine-install: fix profile enumeration (#425326) 2025-07-17 10:48:33 +00:00
Wolfgang Walther 5ca0104067
[Backport release-25.05] nixos/anubis: Apply some more hardening settings (#425135) 2025-07-17 10:44:53 +00:00
Jonas Heinrich 75e2580ed3
[Backport release-25.05] froide-govplan: 0-unstable-2025-01-27 -> 0-unstable-2025-06-25 (#425325) 2025-07-16 10:28:36 +02:00
Wolfgang Walther 10db57b501
[Backport release-25.05] nixos/fcitx5: fix ignoreUserConfig being ignored in some cases (#422688) 2025-07-15 15:58:19 +00:00
Aleksana 7853a4874e
[Backport release-25.05] nixos/k3s: fix typo (#424619) 2025-07-15 22:30:53 +08:00
sanana 5fc31ce1b8 limine-install: fix profile enumeration
Fixes #425158.

(cherry picked from commit 6baed48380)
2025-07-15 08:22:02 +00:00
Jonas Heinrich fed81c9355 nixos/froide-govplan: Increase startup timeout
(cherry picked from commit d6e3516544)
2025-07-15 10:17:34 +02:00
Jonas Heinrich ab6ae92101 nixos/froide-govplan: Fix PYTHONPATH
(cherry picked from commit cd85e93ff7)
2025-07-15 10:16:47 +02:00
Felix Singer 7c832ecc1c nixos/anubis: Apply some more hardening settings
Signed-off-by: Felix Singer <felixsinger@posteo.net>
(cherry picked from commit 959c8e9311)
2025-07-14 16:20:21 +00:00
Benedikt Peetz 67c932004a nixos/invidious-router: Add systemd dependency on network-online.target
Otherwise, the systemd service will reliably fail on a clean boot, as
invidious-router needs a set-up network connection before starting.

(cherry picked from commit fab364e89b)
2025-07-14 08:11:27 +00:00
Jost Alemann a91f59ad63 nixos/k3s: fix typo
(cherry picked from commit 3086227f72)
2025-07-12 14:46:24 +00:00
Jared Baur 1be849b881 nixos/nvidia-container-toolkit: add extraArgs option
(cherry picked from commit 73b4810ff3)
2025-07-11 00:06:48 +00:00
liberodark c41140025f nixos/peertube: fix crash when import video
(cherry picked from commit 481a3f2549)
2025-07-10 08:01:20 +00:00
Martin Weinelt 1c9bc79b61 nixos/postfix-tlspol: fix default settings and config reload
Reloading was insufficient for changing the dns resolver address, so we
make config changes a restart trigger instead.

(cherry picked from commit e57363be15)
2025-07-10 00:09:39 +00:00
Wolfgang Walther 993ef0a5c5
[Backport release-25.05] nixos/amdgpu: add overdrive and ppfeaturemask option (#423337) 2025-07-09 16:34:50 +00:00
Masum Reza 561ddf49c6
nixos/amdgpu: add overdrive and ppfeaturemask option
- `programs.corectrl.gpuOverclock.enable` -> `hardware.amdgpu.overdrive.enable`
- `programs.corectrl.gpuOverclock.ppfeaturemask` -> `hardware.amdgpu.overdrive.ppfeaturemask`
- `programs.tuxclocker.enableAMD` -> `hardware.amdgpu.overdrive.enable`

(cherry picked from commit c9f192da92)
2025-07-09 12:20:24 -04:00
Maximilian Bosch c03e1f27aa
Merge: [Backport release-25.05] nixos/nextcloud: add assertion explaining to set dbtype (#422645) 2025-07-08 16:37:08 +02:00
Wolfgang Walther 9a4b3f880e
[Backport release-25.05] nixos/nextcloud: document nextcloud-occ command (#422741) 2025-07-08 09:30:29 +00:00
Morgan Jones 8c14393fb2
[Backport release-25.05] util-linux, kubernetes, k3s: drop util-linux.withPatches (#422587) 2025-07-06 16:26:11 -07:00
provokateurin 1c87566236 nixos/searx: move network.target from wantedBy to after
In 623664e84f this part was refactored,
however network.target does not make sense in wantedBy and must be part of after.

(cherry picked from commit bcc1b762e9)
2025-07-06 15:01:32 +00:00
Maximilian Bosch f147221e21 nixos/nextcloud: document nextcloud-occ command
It's not clear how to use this command in other systemd units, this
section gives a recommendation.

I realized that there's no explicit mention of `nextcloud-occ` in the
first place, so I wrote some introductory sentences as well.

(cherry picked from commit 5a6f0a43ae)
2025-07-05 16:46:23 +00:00
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
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 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
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 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 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
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
Wolfgang Walther 2b56e28dd4
[Backport release-25.05] nixos/fish: allow disabling completion generation (#418614) 2025-06-26 18:03:26 +00: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
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 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
Wolfgang Walther 25e4fe68b1 nixos/roundcube: 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 e780b064a8)
2025-06-22 14:43:55 +00:00
Wolfgang Walther ea6f7c1587 nixos/libeufin: 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 da3beb2a08)
2025-06-22 14:43:55 +00:00
Jakob Kukla 9478be0f88 nixos/atticd: fix user and group documentation mixup
(cherry picked from commit db7efc1412)
2025-06-21 20:32:57 +00:00
Pratham Patel d2672b8b54 nixos/cosmic-greeter: initialize COSMIC session properly with autologin
Until now, the `cosmic-session` binary was directly invoked when
autologin was enabled. When a user logs in normally, the COSMIC greeter
performs some initialisation. That is done by the greeter running the
`start-cosmic` script shipping with the `cosmic-session` package.

This `start-cosmic` script is responsible for exporting the environment
variables for the user's graphical session and then it starts a session
of COSMIC.

So, when autologin is enabled, instead of executing the `cosmic-session`
binary, we will run the `start-cosmic` script to match user session
initialisation as closely as possible with a "normal" session.

However, there still are some missing pieces to the puzzle. Most notable
one of them is that the desktop portal keeps crashing with a
"ParserError" in context to the locale. I have not dived into this
puzzle piece yet.

```
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.351100Z  INFO launch_pad: starting process ' WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=79 PORTAL_WAYLAND_SOCKET=57 /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic '
May 30 09:32:26 aatman cosmic-session[1221]: starting process ' WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=79 PORTAL_WAYLAND_SOCKET=57 /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic '
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.419931Z  WARN xdg-desktop-portal-cosmic: cosmic_session: [2025-05-30T04:02:26Z ERROR i18n_embed::requester] Unable to parse your locale: ParserError(InvalidLanguage)
May 30 09:32:26 aatman cosmic-session[1221]: [2025-05-30T04:02:26Z ERROR cosmic_settings_subscriptions::upower::kbdbacklight] Error listening to KbdBacklight: org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/UPower/KbdBacklight”
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.795301Z  WARN cosmic-osd: cosmic_session: [2025-05-30T04:02:26Z ERROR cosmic_settings_subscriptions::upower::kbdbacklight] Error listening to KbdBacklight: org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/UPower/KbdBacklight”
May 30 09:32:26 aatman cosmic-session[1221]: Failed to watch theme org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.GeoClue2 was not provided by any .service files
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.807276Z  WARN cosmic-settings-daemon: cosmic_session: Failed to watch theme org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.GeoClue2 was not provided by any .service files
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.818729Z  WARN xdg-desktop-portal-cosmic: cosmic_session:
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.818739Z  WARN xdg-desktop-portal-cosmic: cosmic_session: thread 'main' panicked at src/wayland/mod.rs:243:78:
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.818748Z  WARN xdg-desktop-portal-cosmic: cosmic_session: called `Result::unwrap()` on an `Err` value: NotPresent
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.818792Z  WARN xdg-desktop-portal-cosmic: cosmic_session: stack backtrace:
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.830400Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    0:     0x56531e8a3e40 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h9edbd6e38a8b0805
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.830424Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    1:     0x56531dd73043 - core::fmt::write::h7b1248e5e0c79c78
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.830499Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    2:     0x56531e86c0f3 - std::io::Write::write_fmt::h5e301665499081bf
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.831166Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    3:     0x56531e8a3ce3 - std::sys::backtrace::BacktraceLock::print::h4a386d2ef944f43e
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.831187Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    4:     0x56531e89ea7a - std::panicking::default_hook::{{closure}}::h61b7aa0fc15f236b
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.831825Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    5:     0x56531e89e986 - std::panicking::default_hook::h2d21379b0b23a14f
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.832324Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    6:     0x56531e89ef8f - std::panicking::rust_panic_with_hook::h100726ba9570b85a
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.832346Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    7:     0x56531e8a442a - std::panicking::begin_panic_handler::{{closure}}::h141712493bfacf0c
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.832762Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    8:     0x56531e8a4049 - std::sys::backtrace::__rust_end_short_backtrace::h891003731531c924
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.833229Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    9:     0x56531e89eb1d - rust_begin_unwind
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.834168Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   10:     0x56531dc22850 - core::panicking::panic_fmt::h1df68d570cb2382b
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.834420Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   11:     0x56531dc22f86 - core::result::unwrap_failed::h846e3c141fa2fc46
May 30 09:32:26 aatman cosmic-session[1221]:   12:     0x56531ef28d26 - xdg_desktop_portal_cosmic::wayland::WaylandHelper:🆕:h48f2051b910dbe32
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.835752Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   12:     0x56531ef28d26 - xdg_desktop_portal_cosmic::wayland::WaylandHelper:🆕:h48f2051b910dbe32
May 30 09:32:26 aatman cosmic-session[1221]:   13:     0x56531f156919 - <xdg_desktop_portal_cosmic::app::CosmicPortal as cosmic::app::Application>::init::had2439c596d5d3ad
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.836584Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   13:     0x56531f156919 - <xdg_desktop_portal_cosmic::app::CosmicPortal as cosmic::app::Application>::init::had2439c596d5d3ad
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.836608Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   14:     0x56531f0efc8a - cosmic::app::cosmic::Cosmic<T>::init::h237ea438ab62a4a6
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.837122Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   15:     0x56531f2343fc - <cosmic::executor::single::Executor as iced_futures::executor::Executor>::enter::hb58da647315361c8
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.837736Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   16:     0x56531f27721b - iced_winit::program::run::hf8da91cb177f3cdc
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.837766Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   17:     0x56531ef9367c - iced::program::Program::run_with::h07cb6de026d46c3f
May 30 09:32:26 aatman cosmic-session[1221]:   19:     0x56531f1568af - xdg_desktop_portal_cosmic::app::run::h7170177d90ae0389
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.838448Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   18:     0x56531ef6742e - cosmic::app::run::hd504699db0c811e4
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.838459Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   19:     0x56531f1568af - xdg_desktop_portal_cosmic::app::run::h7170177d90ae0389
May 30 09:32:26 aatman cosmic-session[1221]:   20:     0x56531efd2d97 - xdg_desktop_portal_cosmic::main::{{closure}}::hc5e7222eb3d3d40e
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.839054Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   20:     0x56531efd2d97 - xdg_desktop_portal_cosmic::main::{{closure}}::hc5e7222eb3d3d40e
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.839445Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   21:     0x56531f2f35c8 - tokio::runtime::scheduler::current_thread::Context::enter::hd6c32d98c7a2c763
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.839471Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   22:     0x56531eee89f5 - tokio::runtime::context::scoped::Scoped<T>::set::hbeefc0e3683e97df
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.840043Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   23:     0x56531f2f20d1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h62fe74dc45c2b83b
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.840971Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   24:     0x56531f224371 - tokio::runtime::runtime::Runtime::block_on::hfa5a1859076bed6c
May 30 09:32:26 aatman cosmic-session[1221]:   25:     0x56531efd2a49 - xdg_desktop_portal_cosmic::main::h37b3a492c461a668
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.841689Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   25:     0x56531efd2a49 - xdg_desktop_portal_cosmic::main::h37b3a492c461a668
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.841783Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   26:     0x56531f15e686 - std::sys::backtrace::__rust_begin_short_backtrace::h4a22c4aac199bf89
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.841946Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   27:     0x56531f20de35 - std::rt::lang_start::{{closure}}::hd13242c87ee797d9
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.842593Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   28:     0x56531e87a336 - std::rt::lang_start_internal::he3cad277a2bdfe30
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.843329Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   29:     0x56531efd2ecc - main
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.844213Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   30:     0x7ff514e2a47e - __libc_start_call_main
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.844326Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   31:     0x7ff514e2a539 - __libc_start_main_impl
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.844695Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   32:     0x56531dc9b795 - _start
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.844761Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   33:                0x0 - <unknown>
May 30 09:32:26 aatman cosmic-session[1221]: process ' WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=79 PORTAL_WAYLAND_SOCKET=57 /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic ' failed with code 101
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.855339Z ERROR launch_pad: process ' WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=79 PORTAL_WAYLAND_SOCKET=57 /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic ' failed with code 101
May 30 09:32:26 aatman cosmic-session[1221]: /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic exited with error 101
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.855496Z ERROR cosmic_session: /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic exited with error 101
May 30 09:32:26 aatman cosmic-session[1221]: sleeping for 3ms before restarting process /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic (restart 0)
May 30 09:32:26 aatman cosmic-session[1221]: 2025-05-30T04:02:26.855749Z  INFO launch_pad: sleeping for 3ms before restarting process /nix/store/0d2a9m7n8bji1q8vrmabj380mwzlvd35-xdg-desktop-portal-cosmic-1.0.0-alpha.7/libexec/xdg-desktop-portal-cosmic (restart 0
```

(cherry picked from commit e3f752e29d)
2025-06-21 12:17:35 +02:00
Sizhe Zhao b41bf4567a nixos/profiles/minimal: don't generate fish completions
(cherry picked from commit dbf39b7ddb)
2025-06-21 03:51:26 +00:00
Sizhe Zhao c567580239 nixos/fish: allow disabling completion generation
(cherry picked from commit 3045cecacf)
2025-06-21 03:51:26 +00:00
Kerstin Humm 2f8de667c1 nixos/mastodon: make robust for cases where postgresql isn't enabled on the host
E.g. when a remote PostgreSQL database is used

Apparently you can't access the services.postgresql.package value
anymore if postgresql isn't enabled?

(cherry picked from commit ed0af3bf25)
2025-06-20 19:29:35 +00:00
Adam C. Stephens bc07d2f145
[Backport release-25.05] nixos/incus: fix AppArmor issue (#417791) 2025-06-20 11:06:44 -04:00
Martin Weinelt b6f372e59a
[Backport release-25.05] tlsrpt-reporter: init at 0.5.0 (#418442) 2025-06-20 15:41:23 +02:00
Martin Weinelt 335a3bd10b nixos/tlsrpt: init
(cherry picked from commit 863d3a151d)
2025-06-20 15:20:02 +02:00
Martin Weinelt 7dbf3f27ef nixos/postfix-tlspol: init
MTA-STS and DANE/TLSA resolver and TLS policy socketmap server for
Postfix.

(cherry picked from commit 7c0f92f70b)
2025-06-20 15:01:56 +02:00
ActuallyRuben d643bc40c3 nixos/mongodb: fix initialScript when no initialRootPasswordFile is set
(cherry picked from commit 3400dbdfcd)
2025-06-20 12:09:24 +00:00
cinereal 81e640171d pay-respects: properly end line, fixing error --set: command not found on AI integration
(cherry picked from commit cc345fe2f2)
2025-06-18 13:31:21 +00:00
MakiseKurisu ff08d75496 nixos/incus: update AppArmor profile for new versions
(cherry picked from commit dd5faa98ae)
2025-06-18 09:51:21 +00:00
Luj 427febc454
[Backport release-25.05] readeck: 0.18.2 -> 0.19.2 (#415897) 2025-06-17 14:53:00 +02:00
Maximilian Bosch 7af24ae020 nixos/postgresql: doc review
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
(cherry picked from commit 2a6405fb15)
2025-06-17 10:30:31 +00:00
Maximilian Bosch e3fabc9360 nixos/postgresql: fix docs on default package
Closes #416595

(cherry picked from commit e6cc23ba3f)
2025-06-17 10:30:31 +00:00
taku0 df57a86fe9
[Backport release-25.05] firefox-beta-bin, firefox-devedition-bin: remove (#416894) 2025-06-16 13:49:24 +09:00
Aleksana b3f237655d
[Backport release-25.05] nixos/qtile: fix 'package' option (#416480) 2025-06-15 19:27:11 +08:00
taku0 9c0693aa2e firefox-beta-bin, firefox-devedition-bin: remove
(cherry picked from commit e048bd23c4)
2025-06-15 07:26:13 +00:00
Peder Bergebakken Sundt 076da97cf1 nixos/hardware/nvidia: add prime.offload.offloadCmdMainProgram
prime-run is the default name on arch linux. This allows me and some others I found on github to slim their config.

(cherry picked from commit 340cd4a445)
2025-06-15 01:56:25 +00:00
Felix Bargfeldt af54544dfb
[25.05] nixos/kanidm: merge recursively with extraJsonFile, Fix bind paths (#415078) 2025-06-14 20:07:40 +02:00
Toma 00aa46e274
[release-25.05] nekoray: fix TUN functionality (#416172) 2025-06-13 17:51:57 +02:00
misuzu 00cbf506f0 nixos/qtile: fix 'package' option
(cherry picked from commit d06d1cae5a)
2025-06-13 15:40:45 +00:00
rewine 37acbc4b0a nixos/modules: drop yabar
(cherry picked from commit 8376979439)
2025-06-13 10:36:08 +00:00
aleksana 63bf2a80b5 nixos/nekoray: init module 2025-06-12 23:14:45 +08:00
Adrien Faure 22fe709ac0 nixos/documentation: add option to disable redirects
Related to issue #https://github.com/NixOS/nixpkgs/issues/412451

(cherry picked from commit aeedfab1bf)
2025-06-12 15:29:46 +02:00
linsui d50977688f nixos/readeck: add back MemoryDenyWriteExecute
SQLite driver is reverted to its CGO version so this can be enabled

(cherry picked from commit 17f95268f3)
2025-06-11 17:02:18 +00:00
Defelo 881a31616e nixos/olivetin: use yq-go to merge config files
(cherry picked from commit f71748184c)
2025-06-08 21:42:06 +00:00
Ilan Joselevich 52831b648c
nixos/kanidm: merge recursively with extraJsonFile
Previously, if you set group memberships in both locations, they will
get replaced by the ones in extraJsonFile, which is unexpected as it
kicks users from the group. Now the state files get merged recursively,
including the arrays.

(cherry picked from commit 3b6b50dfad)
2025-06-08 19:48:37 +02:00
Flakebi 481131b7f4
nixos/kanidm: Fix bind paths
1. We bound the directory of certificates, this lead to forced read-only
   binds of these directories, even if they should have been bound
   read-write for other files in there. Looking at the history, there
   seems to be no compelling reason for this, so switch to binding
   the files directly.
2. `/run/kanidmd` is configured as `RuntimeDirectory` so bound
   automatically and we don’t need to specify it explicitly.

(cherry picked from commit c4f052c08a)
2025-06-08 19:39:21 +02:00
oddlama 7ce5e5aa0f
nixos/kanidm: add option and tests for imperative group management
(cherry picked from commit 5f833b1008)
2025-06-08 18:31:00 +02:00
Peter Lehmann fce8cd453a nixos/pdns-recursor: reload service on config change
(cherry picked from commit c586196e17)
2025-06-07 21:40:26 +00:00
Katalin Rebhan 2f534ed8ea nixos/users-groups: allow changing default home directory
(cherry picked from commit 6f7d7cf76f)
2025-06-07 18:31:59 +00:00
Rory& 297dbf2ae4 nixos/draupnir: init
Co-authored-by: emilylange <git@emilylange.de>
Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de>
Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>

(cherry picked from commit 4b153aad5d)
2025-06-06 21:07:19 +02:00
Jared Baur d6822a8edf nixos/networkd: update valid KeepConfiguration values
These changed with the release of systemd v257 from "dhcp*" to
"dynamic*".

(cherry picked from commit d8f9c63512)
2025-06-05 23:18:28 +00:00
Maximilian Bosch 4579a816f4 nixos/nginx: fix type of mapHashBucketSize
While the default is indeed 32/64/128, the option accepts any `size`[1]
including values >128, as observed in a customer project.

[1] https://nginx.org/en/docs/http/ngx_http_map_module.html

(cherry picked from commit 4a2a4193f9)
2025-06-05 14:12:30 +00:00
Luj f10e84cf9c
[Backport release-25.05] nixos/clevis: fix clevis in scripted initrd (#413635) 2025-06-04 15:27:27 +03:00
Pol Dellaiera 0eef838fb4
Revert "[Backport release-25.05] nixos/postfix: add slow domain" 2025-06-04 08:16:14 +02:00
Julien Malka a776cc522e nixos/clevis: fix clevis in scripted initrd
Fixes #389750

(cherry picked from commit 9655143028)
2025-06-03 16:00:46 +00:00
Jörg Thalheim 7c0f154132 systemd-boot: improve error message if no previous systemd boot is found.
(cherry picked from commit b6c1663986)
2025-06-03 15:44:47 +00:00
Tali Auster dbd2143c0b nixos/chrysalis: init module
(cherry picked from commit b14a77638b)
2025-06-02 14:20:56 -06:00
eV 731f374fc2 nixos/wyoming-satellite: fix override to use dependencies
(cherry picked from commit 7ca9f21361)
2025-06-02 18:27:49 +00:00
eljamm 19ed46dc3c nixos/libeufin: update BASE_URL
which is now required to have a valid protocol.

(cherry picked from commit e04f8bb993)
2025-06-02 11:14:31 +02:00
eljamm 1088ff7609 nixos/taler: add exchangekeyupdate service
whose role is to sync Taler exchanges' information with the merchant.

(cherry picked from commit 276fca3265)
2025-06-02 11:14:31 +02:00
eljamm 3a842aa828 nixos/taler: update exchange settings
adding new and removing deprecated ones.

(cherry picked from commit 58fca01255)
2025-06-02 11:14:31 +02:00
eljamm 9afa3afbb4 nixos/taler: use the same dynamicUser for services
which makes managing the database much simpler.

(cherry picked from commit 85b6430fac)
2025-06-02 11:14:31 +02:00
eljamm 5735c3c3b4 nixos/taler: explicitly specify configFile
else the executables fail to work.

(cherry picked from commit 5db5bd097c)
2025-06-02 11:14:31 +02:00
Peder Bergebakken Sundt affe59411e
[Backport release-25.05] nixos/stash: fix mutableSettings logic (#412800) 2025-06-02 01:06:49 +02:00
Peder Bergebakken Sundt c209086813
[Backport release-25.05] nixos/stash: fix empty immutable plugins (#412802) 2025-06-02 00:53:53 +02:00
Diogo Correia 148a482687
nixos/stalwart-mail: fix incorrect config for webadmin and spam-filter
Stalwart 0.11.0 changed the `config.resource.spam-filter` and
`config.resource.webadmin` keys to be `spam-filter.resource` and
`webadmin.resource` respectively. The NixOS has been updated
accordingly, but unfortunately it has mistakenly used
`config.spam-filter.resource` and `config.webadmin.resource`, which are
incorrect and do not do anything.

This commit changes the default configuration to use the correct keys.

Note that due to infinite recursion, the `optionalAttrs` has been
replaced with `mkIf`.

Additionally, some tests were added to catch this regression in the
future.

Fixes #411351

(cherry picked from commit b7ab1fa981)
2025-06-01 17:23:27 +01:00
alyaeanyx 3f72d383d1 maintainers: rename alyaeanyx -> pentane
(cherry picked from commit bdd58823ab)
2025-06-01 10:14:38 +00:00
Wolfgang Walther 0a39ecd8ca
[Backport release-25.05] nixos/glpi-agent: add hardening (#412373) 2025-06-01 08:55:16 +00:00
Wolfgang Walther 6df5cbe24b
[Backport release-25.05] Google Authenticator 2FA support over XRDP (#411826) 2025-06-01 08:51:29 +00:00
Wolfgang Walther fad373f5c8
[Backport release-25.05] adguardhome: Build from source (#411348) 2025-06-01 08:20:52 +00:00
Wolfgang Walther 9d684e717b
[Backport release-25.05] virtualisation/docker: fix nvidia container wrapper (#411345) 2025-06-01 08:19:00 +00:00
renesat 16c1825c74 nixos/stash: fix empty immutable plugins
(cherry picked from commit cb4459412a)
2025-06-01 01:46:59 +00:00
DoctorDalek1963 1c2dbee288 nixos/stash: fix mutableSettings logic
Fixes services.stash.mutableSettings so that it makes sense. The logic
was previously backwards and the settings would be overriden if
mutableSettings was true.

(cherry picked from commit 7dcad49a30)
2025-06-01 01:39:38 +00:00
liberodark 71c589f8bb nixos/glpi-agent: add hardening
(cherry picked from commit e673eca2be)
2025-05-30 15:10:17 +00:00
liberodark ffa82b9ad4 oxidized: fix symlink
(cherry picked from commit 99bdbcbd01)
2025-05-30 11:12:11 +00:00
ferres 5ea9b9f743 nixos/zeronsd: fix acl permissions
(cherry picked from commit 41f1eadb73)
2025-05-30 11:23:25 +05:30
Antonio f0a47fd2a3 nixos/pam: add Google Authenticator 2FA support over XRDP
(cherry picked from commit 8331187976)
2025-05-29 18:58:46 +02:00
Fiona Behrens c312e3cc8b nixos/systemd-initrd: honor the enable option in contents
The enable attribute of `boot.initrd.systemd.contents.<name>` was
ignored for building initrd storePaths. This resulted in building
derivations for the initrd even if it was disabled.

Found while testing a to build a nixos system with a kernel without
lodable modules[0]

[0]: https://github.com/NixOS/nixpkgs/pull/411792

(cherry picked from commit 99da5ec2bc)
2025-05-29 15:06:51 +00:00
Morgan Jones 2870d0deb6 nixos/kubernetes: use util-linux.withPatches
(cherry picked from commit e14de85830)
2025-05-29 05:43:28 +00:00
Rafael Fernández López 62e290f9fa nixos/nvidia-container-toolkit: allow to provide CSV files
(cherry picked from commit 1948ad4bb5)
2025-05-28 15:14:25 +00:00
Marc Fontaine 7c65985b2c nixos/postgrest: fix typo in name of configuration options (#411197)
The config-file key is 'server-unix-socket-mode', not 'service-unix-socket-mode'.

(cherry picked from commit b134f3148f)
2025-05-28 14:43:13 +00:00
Sandro Jäckel c44d6d705d 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-05-28 14:15:09 +00:00
Sandro Jäckel b7444e5d11 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-05-28 14:15:09 +00:00
liberodark c3d89bc2ea nixos/postfix: add slow domain
(cherry picked from commit b9ecd30d81)
2025-05-27 21:25:09 +00:00
Golbinex b59accc8e9 nixos/adguardhome: Update binary path
The compiled binary filename has upper cases

(cherry picked from commit 6e99825c18)
2025-05-27 09:50:50 +00:00
Rafael Fernández López 9e6003f0d5 virtualisation/docker: fix nvidia container wrapper
(cherry picked from commit 7e42e4431b)
2025-05-27 09:35:26 +00:00
Aleksana f70205231d
[Backport release-25.05] starship: add xonsh shell configuration (#411035) 2025-05-26 17:30:12 +08:00
nat 8c8ba680ec nixos/limine: substituteAll -> replaceVarsWith
(cherry picked from commit e51e0da386)
2025-05-26 14:07:33 +05:30
programmerlexi 90f3e90346 nixos/limine: fix boot entry not being created properly (#410935)
(cherry picked from commit 2c673b6e67)
2025-05-26 13:26:56 +05:30
cswimr 77e5e2914c starship: add xonsh shell configuration
(cherry picked from commit bb4ba2ab1c)
2025-05-26 07:17:48 +00:00
Tristan Ross 4d0c8dc19e
[Backport release-25.05] nixos/security: add landlock, yama, and bpf defaults (#410523) 2025-05-25 23:13:34 -07:00
Wolfgang Walther 7622fec1ba
[Backport release-25.05] zoom-us: allow to select xdg-desktop-portal packages (#410258) 2025-05-26 06:07:09 +00:00
Aleksana 58404b11f1
[Backport release-25.05] nixos/bees: fix option example (#410992) 2025-05-26 13:28:17 +08:00
Sveske_Juice b6dfcedefb nixos/syncthing: fix cert/key permission error
(cherry picked from commit 3303249ed2)
2025-05-26 04:50:35 +00:00
FliegendeWurst 48b018d02a nixos/bees: fix option example
The attribute name usually corresponds to the path of the filesystem.

(cherry picked from commit 2e68a674bd)
2025-05-26 03:10:59 +00:00
Gerg-L 764862b479 nixos/direnv: fix silent option... again
(cherry picked from commit 487d1383c8)
2025-05-24 19:02:59 +00:00
Tristan Ross dc600da59c nixos/security: add landlock, yama, and bpf defaults
(cherry picked from commit 22f2e258af)
2025-05-24 13:37:57 +00:00
Yarny0 279ee1a7b9 nixos/programs: add zoom-us module
The zoom-us package can be build with pulseaudio and with
support for one or more xdg-desktop-portal implementations.
This new module sets the proper build options
from the system configuration,
and adds the resulting package to `systemPackages`.
If an individual `zoom-us` package is assigned to the
`package` option with `package = zoom-us.override { ... };`,
arguments given to `.override` will take precedence
over the options determined by the module.
This permits to explicitly enable or disable some zoom-us
features while keeping the module's choices for other features.

Co-authored-by: Philip Taron <philip.taron@gmail.com>
(cherry picked from commit 1a5059ded6)
2025-05-23 18:49:07 +00:00
Aleksana ddd0a706be
[Backport release-25.05] nixos/orca: Make available to gdm greeter (#409142) 2025-05-23 21:20:41 +08:00
Aleksana ed3e8fdc88
[Backport release-25.05] nixos/paperless: expose manage package (#408739) 2025-05-23 15:19:26 +08:00
Doron Behar 24b41a7f8b nixos/i18n: Re-add special handling of LANGUAGE
This reverts commit 263297b4e5 while also
explaining in the docs where exactly LANGUAGE is ignored, and why.

Fixes #409306.

(cherry picked from commit 82dfbe95f5)
2025-05-23 06:25:48 +00:00
Aleksana f89c89a1e7
[Backport release-25.05] netbird: fix typo in warning message (#410021) 2025-05-23 11:48:10 +08:00
Pop 298a25eeec netbird: fix typo in warning message (#406819)
(cherry picked from commit 017276a4aa)
2025-05-23 03:32:43 +00:00
nyukuru 690b077209 nixos/foot: fix zshrc
Fixes error 'command not found: add-zsh-hook'

(cherry picked from commit 2c7a56cee9)
2025-05-23 03:27:28 +00:00
hustlerone d5138ca3d6 nixos/limine: tidy up the boot menu
(cherry picked from commit de6905ee37)
2025-05-22 21:03:39 +05:30
Niklas Korz 26506af385 nixos/meilisearch: use meilisearch_1_11 for stateVersion below 25.05
(cherry picked from commit aac2e41ce0)
2025-05-22 13:54:53 +00:00
Fugi 63b6a715ed nixos/gtklock: init
(cherry picked from commit 65a759f7b4)
2025-05-22 03:49:50 +00:00
Morgan Jones 423873feaa nixos/tpm2: default pkcs#11 module based on abrmd config
Since there are now variants of tpm2-pkcs11 with and without ABRMD
support (for the kernel resource manager), ensure we pick the correct
default.

Fixes an accidental backwards incompatibility with the module.

(cherry picked from commit 9c1564e395)
2025-05-22 00:37:29 +05:30
programmerlexi f5c8555577 nixos/limine: don't modify boot order on bootloader update
(cherry picked from commit 95030d7eb3)
2025-05-21 23:38:10 +05:30
Aleksana 6c8cd30a08
[Backport release-25.05] matrix-continuwuity: init at 0.5.0-rc.5; nixos/matrix-continuwuity: init (#407850) 2025-05-22 00:11:54 +08:00
Yaya a1d1c7afd9 nixos/gitlab: update minimum PostgreSQL version assertion
GitLab 18.0.0 requires at least PostgreSQL 16.

https://docs.gitlab.com/18.0/install/requirements/#postgresql
(cherry picked from commit ee58f11546)
2025-05-21 12:57:34 +02:00
programmerlexi d8c429b16a nixos/limine: carefully remove files instead of nuking them
(cherry picked from commit a094b5d8cc)
2025-05-21 15:42:12 +05:30
programmerlexi ecc74afaf4 nixos/limine: atomically copy files
(cherry picked from commit 2c7659b1ff)
2025-05-21 15:42:12 +05:30
Evan Scamehorn e9461aa3e3 nixos/spotifyd: Fix 404 URLs (#408504)
(cherry picked from commit a4e1ad5521)
2025-05-21 06:46:57 +00:00
Jan Tojnar 3e574f1237 nixos/orca: Make available to gdm greeter
Without this, the greeter is unable to see `orca` program on `PATH`
and so `${gdm}/share/gdm/greeter/autostart/orca-autostart.desktop`
will fail to start it. As a result, screen reader would not work
on the login screen.

(cherry picked from commit 9af27f1cb5)
2025-05-20 18:09:17 +00:00
benaryorg f551d91f2e nixos/systemd: unconditional systemd-journald-audit.socket
Containers did not have *systemd-journald-audit.socket* in *additionalUpstreamSystemUnits*, which meant that the unit was not provided.
However the *wantedBy* was added without any additional check, therefore creating an empty unit with just the *WantedBy* on *boot.isContainer* machines.
This caused `systemd-analyze verify` to fail:

```text
systemd-journald-audit.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
systemd-journald-audit.socket: Cannot add dependency job, ignoring: Unit systemd-journald-audit.socket has a bad unit file setting.
systemd-journald-audit.socket: Cannot add dependency job, ignoring: Unit systemd-journald-audit.socket has a bad unit file setting.
```

The upstream unit already contains the following, which should make it safe to include regardless:

```ini
[Unit]
ConditionSecurity=audit
ConditionCapability=CAP_AUDIT_READ
```

For reference, this popped up in the context of #[360426](https://redirect.github.com/NixOS/nixpkgs/issues/360426) as well as #[407696](https://redirect.github.com/NixOS/nixpkgs/pull/407696).

Co-authored-by: Bruce Toll <4109762+tollb@users.noreply.github.com>
Signed-off-by: benaryorg <binary@benary.org>
(cherry picked from commit e434130d0b)
2025-05-20 13:30:26 +00:00
Doron Behar ef5bc91e93 nixos/i18n: Remove special handling of LANGUAGE
Partially revert #179194 which first filtered
`extraLocaleSettings.LANGUAGE`. Indeed this environment variable is
given precedence according to:

https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html

So using it will simply make all other `extraLocaleSettings` be ignored
in practice, but the OS shouldn't ignore it when aggregating the locales
required in general, as this setup should still be legitimate, and it
may even be useful if you wish to set it by default and use `env -u
LANGUAGE` for some programs.

(cherry picked from commit 263297b4e5)
2025-05-20 12:17:52 +00:00
Doron Behar fdba215260 i18n: Add charset related settings
Fixes #404758

(cherry picked from commit e8581078a1)
2025-05-20 12:17:52 +00:00
Rebecca Kelly e4d44b9ac6 deliantra-server: remove
I'm not really using or maintaining it anymore and it's getting increasingly bit-rotted.

(cherry picked from commit b8a2f7fff9)
2025-05-20 02:39:44 +00:00
Jonas Sander c7eaa2ddb2 nixos/paperless: expose manage package (#405610)
(cherry picked from commit 309871725f)
2025-05-19 14:38:20 +00:00
Michele Guerini Rocco c2db6a61f2
[Backport release-25.05] nixos/pdns-recursor: deprecate settings, add yaml-settings (#408645) 2025-05-19 16:30:26 +02:00
rnhmjoj fb77c246cb nixos/pdns-recursor: deprecate settings, add yaml-settings
(cherry picked from commit b71d4f5fb3)
2025-05-19 08:30:52 +00:00
Niklas Korz ed59c106c7 nixos/signald: drop
(cherry picked from commit 9958792cae)
2025-05-18 19:45:40 +00:00
Ramses ce3af7849d
[Backport release-25.05] nixos/specialisation: escape and restrict specialisation names (#408069) 2025-05-17 22:39:49 +02:00
Winter 258dca1e95 nixos/profiles/nix-builder-vm: allow the system derivation to be substituted
Consider a user wanting to set up the Linux builder for the first time,
but with a slightly more generous allocation of resources compared to
the default. They'll do something like this:

```
{
  virtualisation.cores = 3;
  virtualisation.darwin-builder = {
    diskSize = 40 * 1024;
    memorySize = 4 * 1024;
  };
}
```

This will fail with an error like this:

```
error: a 'aarch64-linux' with features {} is required to build '/nix/store/3acpgmwqwnk8g2gc5r05ar2lvmn01b8a-builder.pl.drv', but I am a 'aarch64-darwin' with features {apple-virt, benchmark, big-parallel, nixos-test}
```

But why would they have to rebuild the NixOS system?! All they did was
change the arguments passed to QEMU, and nothing those options control
would affect the NixOS configuration itself... right?

`config.system.build.toplevel` is defined with `allowSubstitutes` set to
`false` by default, which makes it so that the toplevel can't be
substituted if Nix is trying to use it "directly." So because the above
example would have to rebuild the VM runner, which references toplevel
directly, Nix refuses to substitute it, unless `always-allow-substitutes
= true` is set as a Nix option. (In the case where the QEMU options
aren't changed at all, Nix just substitutes the runner, which sidesteps
this issue as the runner itself doesn't use toplevel as an input.)

(cherry picked from commit 747c55e702)
2025-05-17 19:40:59 +00:00
toborwinner 1b2b3e1ea2 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:48:07 +00:00
Marcin Serwin f4668fe0d4 nixos/sourcehut: adapt to new versions
(cherry picked from commit fa148f9b48)
2025-05-17 15:34:17 +00:00
C0D3 M4513R dcc7993ccc acme: Add csr option
Signed-off-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>
(cherry picked from commit 754412b4ae)
2025-05-17 09:24:49 +00:00
Niko Cantero b280fd97dc matrix-continuwuity: init at 0.5.0-rc.5; nixos/matrix-continuwuity: init
(cherry picked from commit c878ad10fb)
2025-05-17 09:05:49 +00:00
Leona Maroni abf9d678aa
beta release 2025-05-16 19:04:43 +02:00
isabel 6dc8edf1f5
nixos/minecraft-server: update outdated links (#405554) 2025-05-16 16:30:39 +01:00
Sandro c0cd90d343
nixos/etc: remove rogue continue (#399915) 2025-05-16 15:08:17 +02:00
Adam C. Stephens d25ea431bd
Headscale service wait before restart (#400053) 2025-05-16 08:30:08 -04:00
isabel 79f86a061d
Add autoenv to modules list (#407568) 2025-05-16 11:27:46 +01:00
Borja Clemente 4fd9814cc8
Add autoenv to modules list
Signed-off-by: Borja Clemente <borja.clemente@gmail.com>
2025-05-16 11:26:05 +02:00
Ratchanan Srirattanamet ff4214fabd nixos/kimai: fix upgrading to Kimai 2.32 by clearing cache earlier
During testing of Kimai 2.32, it's been found that fixes done in PR
371917 [^1] is not enough to prevent error in the case of upgrading from
2.31 to 2.32.

Hinted by an upstream issue [^2], make sure that the cache is cleared
before running `kimai:install`, not after. This fixes upgrading from
2.31 to 2.32, and should prevent similar issue from popping up again.

[^1]: https://github.com/NixOS/nixpkgs/pull/371917
[^2]: https://github.com/kimai/kimai/issues/5437
2025-05-16 11:19:58 +02:00
Aleksana 86628e2b8d
nixos/nm-applet: fix service starting too early in some cases (#406277) 2025-05-16 16:52:22 +08:00
Seth Flynn 7c2f22b376
nixos/hddfancontrol: use attrset for config (#394826) 2025-05-15 13:49:19 -04:00
lassulus 84049bd248
nixos/syncthing: define and handle encryptionPassword option (#383442) 2025-05-15 19:44:22 +02:00
Jenny 26c6a14a9a
nixos/librenms: seed database in module, not only in test (#406546) 2025-05-15 19:17:41 +02:00
Arian van Putten 871526be1f
nixos/image/repart: Use own assertions / warnings. (#406940) 2025-05-15 19:14:53 +02:00
Maximilian Bosch 26126c75df
Merge: Use cacert in Nextcloud (#406252) 2025-05-15 18:50:53 +02:00
Vladimír Čunát e06158e58f
staging-next 2025-05-07 (#404858) 2025-05-15 18:42:40 +02:00
provokateurin 12f8199080
nixos/nextcloud: Override cacert package with config.security.pki.caBundle 2025-05-15 18:19:52 +02:00
isabel 84c1069ebe
nixos/cloudflared: fix cert.pem installation (#407128) 2025-05-15 15:32:56 +01:00
nixpkgs-ci[bot] d1034e4a8a
Merge master into staging-next 2025-05-15 12:07:04 +00:00
Sandro 5077b9edb6
nixos/headscale: fix derp.auto_update_enabled option (#406108) 2025-05-15 11:04:01 +02:00
Pedro Alves 75c7d0908e nixos/cloudflared: fix cert.pem installation
There was a typo in the systemd service definition for cloudflared which
meant that the cert.pem file was not being correctly exposed.
2025-05-14 20:13:42 +01:00
nixpkgs-ci[bot] ee27ba77b2
Merge master into staging-next 2025-05-14 18:05:41 +00:00
Luj b98b4f43bd
readeck: 0.17.1 -> 0.18.2 (#405276) 2025-05-14 17:38:22 +02:00