Commit graph

61,155 commits

Author SHA1 Message Date
Doron Behar
c13c604a7a nixos/syncthing: add maintainers 2026-06-12 15:05:06 +03:00
Doron Behar
95e51031b4 nixos/syncthing: remove old, not evaluating well deprecation message
The `folderType` variable wasn't evaluating even if the message would
have been thrown.
2026-06-12 15:04:54 +03:00
Doron Behar
893048f24c nixos/syncthing: remove with lib; 2026-06-12 15:04:54 +03:00
Seudonym
f7d047601b nixos/syncthing: use PATCH for config updates 2026-06-12 17:03:42 +05:30
Seudonym
511068bba9 nixos/tests/syncthing: add defaults test 2026-06-12 16:35:37 +05:30
Seudonym
34e9e9e406 nixos/syncthing: fix defaults config 2026-06-12 16:35:37 +05:30
Sizhe Zhao
ebc8cf0b4a
firewalld: 2.4.0 -> 2.4.2 & clean up (#509812) 2026-06-12 08:12:43 +00:00
Sizhe Zhao
04b8fdb00a
nixosTests.firewall-firewalld: wait until state is running 2026-06-12 16:02:26 +08:00
Sizhe Zhao
df041989dc
nixosTests.firewalld: wait until state is running 2026-06-12 16:02:11 +08:00
Florian Klink
ed1ce88e87
nixos/networkmanager: create the correct configured keyfile.path (#530008) 2026-06-11 22:51:12 +00:00
Florian Klink
ee1573e79c
nixos/lib/utils: fix escapeSystemdPath for paths with "." segments (#529688) 2026-06-11 22:49:35 +00:00
Philip Taron
f165471026
vmTools: fix img collision with pkgs.img, add kernelModules arg (#530764) 2026-06-11 22:31:35 +00:00
Florian Klink
69ec94f186
prometheus-xray-exporter: init at 1.0.0 (#530701) 2026-06-11 22:07:35 +00:00
Adam C. Stephens
f8330c7eb5
restic: 0.18.1 -> 0.19.0 (#530032) 2026-06-11 16:25:45 +00:00
Masum Reza
d89251e9f8
nixos/bcachefs: fix scrub command (#518198) 2026-06-11 16:15:05 +00:00
r-vdp
68d32ed6cb
vmTools: fix img collision with pkgs.img, add kernelModules arg
Commit 31d1d80b3f ("lib/systems: move kernel configuration out of
the platform structure") changed all-packages.nix from

  vmTools = callPackage ../build-support/vm {
    img = stdenv.hostPlatform.linux-kernel.target;
  };

to

  vmTools = callPackage ../build-support/vm { };

and changed the function default to `img ? kernel.target`. Since
`pkgs.img` exists, `callPackage` now auto-fills the `img` argument
with that attribute and the default is never used.
Anything going through `runInLinuxVM` (make-disk-image,
nixosTests.bootspec.*, etc.) then fails with:

  qemu: could not open kernel file
  '/nix/store/...-linux-.../...-img-0.5.11': No such file or directory

Rename `img` to `kernelImage` so it no longer collides with a
top-level package.

The same commit also broke callers that override `kernel` with an
`aggregateModules` tree (the in-tree zfs image builders, disko), since
that has no `.target`. The single `kernel` argument was being used for
two unrelated things: the boot image for `qemu -kernel` and the module
tree for the initrd. Split the latter out into a new `kernelModules`
argument (defaulting to `kernel`), point the zfs image builders at it,
and throw a clear error explaining the migration when `kernel.target`
is missing.
2026-06-11 18:21:30 +03:00
Logan Pulley
4b68826b8c restic: 0.18.1 -> 0.19.0 2026-06-11 10:20:45 -05:00
xiaodong.jia
7e4a18608d prometheus-xray-exporter: switch to fork with user metrics working 2026-06-11 23:16:09 +08:00
K900
1fdf8fd586 bootspec: honor boot.kernel.enable
WSL and other container-brained-but-not-really systems may not want a kernel,
and now that bootspec is no longer optional, this pulls one in anyway.
2026-06-11 15:38:11 +03:00
xiaodong.jia
f07ac86aa7 prometheus-xray-exporter: init at 0.2.0 2026-06-11 19:03:55 +08:00
Michele Guerini Rocco
df0b393e06
doc: clarify how 26.05's wpa_supplicant changes affect the ctrl_interface (#529993) 2026-06-11 06:08:12 +00:00
Felix Bargfeldt
e00f896b13
nixos/malloc: check legacy scudo options exist before use (#529628) 2026-06-11 00:56:31 +00:00
Heman Gandhi
b8f80210b1 doc: clarify how 26.05's wpa_supplicant changes affect the ctrl_interface
Closes #528867
2026-06-11 07:59:47 +09:00
Peder Bergebakken Sundt
9550204ab3
clash-verge-rev: 2.4.7 -> 2.5.1 (#523235) 2026-06-10 22:34:53 +00:00
Andreas Wiese
84ef80c6e7 nixos/bcachefs: fix scrub command
Before bcachefs-tools v1.34.0, scrub command was `bcachefs data scrub
…`, then it got `bcachefs scrub …` with the old one still working.  The
old one doesn't work anymore.

Fix the command for `services.bcachefs.autoScrub`, including version switch.
2026-06-11 00:19:13 +02:00
Philip Taron
22d0bd3ea5
maintainers: add jade (#527659) 2026-06-10 19:47:49 +00:00
Johannes Kirschbauer
6facb5df6b
lib/types: remove functor.wrapped after deprecation phase (#510713) 2026-06-10 19:40:39 +00:00
Arian van Putten
f9335936bc
nixos/bootspec: remove enable option (#530066) 2026-06-10 19:34:34 +00:00
Johannes Kirschbauer
0cb9aa055c
lib/types: remove functor.wrapped after deprecation phase of 2 full releases 2026-06-10 21:24:53 +02:00
Alyssa Ross
2d18606282
lib/systems: move kernel configuration out of the platform structure (#530133) 2026-06-10 17:39:49 +00:00
Markus Kowalewski
e30b40e318
nixosTests.zenohd: fix test flakiness by adding QoS1 to mqtt pub (#530054) 2026-06-10 16:34:05 +00:00
Adam Rizkalla
7aec908348 nixosTests.zenohd: fix test flakiness by adding QoS1 to mqtt pub
Signed-off-by: Adam Rizkalla <ajarizzo@gmail.com>
2026-06-10 11:23:59 -05:00
Grimmauld
725fb8b3bf
nixos/opensnitch: don't rely on systemd-tmpfiles for service setup (#527693) 2026-06-10 11:58:38 +00:00
Grimmauld
3214367796
nixos/opensnitch: default to nftables firewall backend
iptables backend is currently broken for unknown reasons.
`nftables` backend works for iptables firewall too,
if built with nftablesCompat = true (our default).
2026-06-10 13:38:01 +02:00
Grimmauld
3880a87483
nixos/opensnitch: Set connection timeout of 3s for faster tests (#525893) 2026-06-10 11:35:48 +00:00
Michele Guerini Rocco
dc9d6d3e2a
nixos/wireless: fix for multiple interfaces (#530237) 2026-06-10 09:44:11 +00:00
Jonas Heinrich
0c20a66126
nixos/lauti: fix type on services.lauti.secrets (#529931) 2026-06-10 09:03:08 +00:00
rnhmjoj
31b4a28a70
nixos/wireless: fix for multiple interfaces
Closes issue #529889
2026-06-10 09:40:45 +02:00
zowoq
ff5841b780
nixos/qemu-vm: set daemon user in register-nix-paths (#526816) 2026-06-10 07:34:23 +00:00
sternenseemann
01e7815238
nixos/foot: fix zsh duplicate precmd functions (#523065) 2026-06-10 04:34:27 +00:00
Emily
31d1d80b3f lib/systems: move kernel configuration out of the platform structure
Currently, you need to override `stdenv.hostPlatform` to request a
compressed kernel on AArch64, and the kernel configuration is split
between the central structured configuration and string snippets in
platform definitions. This has consequently made the latter bitrot
terribly. Since the platform‐specific logic is now very limited after
cleaning up the detritus, we can move it into the kernel derivation
and expose the relevant configuration there for anyone who wants to
customize it further or needs to read it out.

Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2026-06-10 11:17:38 +10:00
Sandro
828ca06a44
nixos/espanso: add extraPackages option (#511721) 2026-06-10 01:00:58 +00:00
Sandro
725f30528b
scx-loader: init at 1.1.1, add nixos module and test (#523462) 2026-06-10 00:59:06 +00:00
Ryan Burns
02c7613222
nixos/sshd: accept path-typed options (#526839) 2026-06-09 23:13:30 +00:00
Ilan Joselevich
8f68c76d48
nixos/lib/utils: fix escapeSystemdPath for paths with "." segments
escapeSystemdPath relied on lib.strings.normalizePath, which only
collapses duplicate slashes and does not drop "." path components the
way systemd's path_simplify() does. A path like /mnt/./foo was thus
escaped to mnt-.-foo instead of mnt-foo, and systemd refused the
generated unit ("Where= setting doesn't match unit name").

Reimplement the simplification to match `systemd-escape --path` exactly:
drop "." and empty components, collapse a leading ".." run in an
absolute path to the root, and throw on any input systemd-escape
rejects (a non-leading "..", or a relative path that reduces to
nothing). Parity is checked against the systemd-escape binary over a
battery of edge cases and fuzzed inputs. While here, hoist the constant
escape table and partial applications out of the per-call lambda so
they are built once rather than on every call, making the function
~2.5x faster.

Resolves: https://github.com/NixOS/nixpkgs/issues/515270
Assisted-by: Claude:claude-opus-4-8
2026-06-10 02:03:37 +03:00
Peder Bergebakken Sundt
867fdcb303
shadps4: 0.15.0 -> 0.16.0 (#527091) 2026-06-09 22:34:30 +00:00
Sandro
a3b97ebfd0
nixos/boinc: update documentation link (#525305) 2026-06-09 21:17:04 +00:00
r-vdp
dff88cbd79
nixos/systemd-boot: drop bootspec synthesize fallback
Older generations without boot.json are skipped with a
warning.
2026-06-09 22:03:07 +03:00
r-vdp
c44bf2a69d
nixos/bootspec: remove enable option
Bootspec has been enabled by default and marked internal for a long
time.

Dropping this option avoids us needing fallbacks in bootloader scripts.
2026-06-09 21:45:54 +03:00
Azat Bahawi
18ba3555a3
nixos/llama-cpp: switch to RFC42-style settings (#528626) 2026-06-09 17:54:29 +00:00