Commit graph

38208 commits

Author SHA1 Message Date
Will Fancher 67a2f9968f
[Backport release-25.05] nixos/systemd: fix run0 failing to run commands (#429202) 2025-07-29 23:33:42 -04:00
Thomas Gerbet 33cb0b9a21 sudo: 1.9.17p1 -> 1.9.17p2
Changes:
https://www.sudo.ws/releases/stable/#1.9.17p2
(cherry picked from commit a3a0962f23)
2025-07-29 21:43:27 +00:00
Defelo 17847f675a
nixos/go-httpbin: init module
(cherry picked from commit 224dc30d39)
2025-07-29 20:04:55 +05:30
Jason Yundt d5378cec85 nixos/systemd: fix run0 failing to run commands
Fixes #361592.

I was able to test this change by doing the following:

1. Create a file named “test-systemd-run0.nix” that contains this Nix
expression:

    let
      nixpkgs = /path/to/nixpkgs;
      pkgs = import nixpkgs { };
    in
    pkgs.testers.runNixOSTest {
      name = "test-systemd-run0";
      nodes.machine = {
        security.polkit.enable = true;
      };
      testScript = ''
        start_all()
        machine.succeed("run0 env")
      '';
    }

2. Replace “/path/to/nixpkgs” with the actual path to an actual copy of
Nixpkgs.

3. Run the integration test by running this command:

    nix-build <path to test-systemd-run0.nix>

(cherry picked from commit d54262911c)
2025-07-28 21:59:21 +00:00
Martin Weinelt 007eb35d91 nixos/tlsrpt: fix permissions to execute postdrop
Calling to sendmail without AF_NETLINK causes:

> sendmail: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol

and without AF_INET/AF_INET6:

> sendmail: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
> sendmail: warning: inet_protocols: disabling IPv4 name/address support: Address family not supported by protocol

Move the configurePostfix option one level up, since it now also
reconfigures the reportd systemd unit.

(cherry picked from commit b438f32b2a)
2025-07-28 14:16:59 +00:00
Martin Weinelt c3246b01ba nixos/tlsrpt: fix restart trigger
Triggering on a symlink target does not work.

(cherry picked from commit c3c5a3bfd0)
2025-07-28 14:16:59 +00:00
Martin Weinelt 6a90d84e44 nixos/tlsrpt: fix default postfix sendmail path
It is not in the PATH for the reportd, since it is a SUID wrapper.

(cherry picked from commit 1f9431801f)
2025-07-28 14:16:59 +00:00
Martin Weinelt 89b59646e8
[Backport release-25.05] postfix-tlspol: 1.8.9 -> 1.8.12 (#428692) 2025-07-27 15:01:43 +02:00
NullCube ebb3620e76 installer/nixos-generate-config: remove broadcom_sta
Resolves the installer failing on devices that include this hardware, as
broadcom_sta was marked as insecure due to being unmaintained and having
active CVE's.

This commit be reverted when/if the installer has a mechanism for allowing
insecure packages.

(cherry picked from commit 9c9f467d49)
2025-07-27 04:36:21 +00:00
Martin Weinelt 3856b699f3
postfix-tlspol: adopt package and module
(cherry picked from commit e6445e42fa)
2025-07-26 16:25:15 -04:00
Martin Weinelt c50fcdd313
nixos/postfix-tlspol: only preset dns resolver with useLocalResolver
This is the best indicator we have about whether to use a local resolver.

In the meantime I'm lobbying upstream to read /etc/resolv.conf.

(cherry picked from commit b201963951)
2025-07-26 16:25:15 -04:00
Martin Weinelt d3b13a2850 nixos/frigate: don't clear model cache
Upstream stores the model cache in the config directory, which is
unnecessarily messy. The cache directory is still the correct place for
these, since they can be pruned and redownloaded, we just don't want it
to happen on every restart.

Fixes: #427714
(cherry picked from commit cb4fd4e3ca)
2025-07-25 16:42:12 +00:00
diniamo 8fa81f2c6c nixos/grafana: add openFirewall option
(cherry picked from commit 5bb944c6f5)
2025-07-25 16:14:53 +00:00
Martin Weinelt 268ecc7bb2
kea: 2.6.2 -> 2.6.3
https://downloads.isc.org/isc/kea/2.6.3/Kea-2.6.3-ReleaseNotes.txt

https://kb.isc.org/docs/cve-2025-32801
https://kb.isc.org/docs/cve-2025-32802
https://kb.isc.org/docs/cve-2025-32803

Fixes: CVE-2025-32801, CVE-2025-32802, CVE-2025-32803

(cherry picked from commit fde8885198)
2025-07-25 17:33:14 +02:00
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Wolfgang Walther a46262ae77
treewide: run treefmt with mdcr/nixfmt 2025-07-24 14:58:15 +02:00
Wolfgang Walther ad1379b5e0
treewide: fix syntax errors in nix code blocks
Fixes all code blocks with "nix" language in markdown files for syntax
errors to be able to run nixfmt in the next step.

(cherry picked from commit 6c47e7d5da)
2025-07-24 14:46:05 +02:00
Martin Weinelt 8fc5cfb293 nixos/tlsrpt: fix permissions for postfix
Same as with other services giving postfix access, this needs to happen
for the postfix user. Adding supplementary group permissions to the
systemd unit does not propagate to child processes that ultimately call
the unix domain socket.

(cherry picked from commit e48d12554c)
2025-07-24 01:09:37 +00:00
kiara 9748878fa6 nixos/woodpecker: fix documentation links (#427705)
(cherry picked from commit 103ee4e1cf)
2025-07-23 10:34:03 +00:00
Kermina Awad b61c9eb6c1 nixos/plasma6: fix autorotation when IIO module is enabled
Plasma 6 requires the `qtsensors` package to be installed in order
for autorotation to work correctly. Simply enabling the IIO module
is not sufficient, although it's also required. Both are required
for autorotation to work correctly.

(cherry picked from commit 864ffcd1e1)
2025-07-21 18:43:12 +00:00
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
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