0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 16:40:32 +03:00
Commit graph

36011 commits

Author SHA1 Message Date
github-actions[bot]
ded5a5e552
Merge master into staging-next 2025-01-09 00:14:35 +00:00
piegames
31777a589c
More string fixes (#367757) 2025-01-08 20:12:26 +01:00
Andreas Fuchs
ad55e1a1ef Make systemd-resolved's config file a reload trigger
It is documented to re-read its configuration file upon reload, so
we can simply reload it instead of restarting the whole daemon.
2025-01-08 13:38:04 -05:00
Andreas Fuchs
0c5719fe0e Don't stop systemd-{networkd,resolved,udevd} on config switch
These daemons should not be stopped, as they're foundational to a
proper functioning of the system. When switching configurations, they
only need a restart instead of that stop/start cycle.
2025-01-08 13:05:27 -05:00
github-actions[bot]
28758028a5
Merge master into staging-next 2025-01-08 18:04:29 +00:00
Artturin
b72ee2446e
nixos/earlyoom: mention extraArgs breakage and fix example (#371550) 2025-01-08 17:07:52 +02:00
phaer
0b162c3dbc iso-image: fix output filename
While switching from isoImage.baseName to the unified image.baseName,
I accidentaly dropped label and system information from the iso filename.

This fixes it by including isoImage.edition in the default baseName for
all our isos. Resulting in filenames such as
`nixos-minimal-25.05beta708350.1d95cb5-x86_64-linux.iso` again instead
of just nixos-minimal.iso.
2025-01-08 14:35:07 +01:00
github-actions[bot]
224fa5b082
Merge master into staging-next 2025-01-08 00:14:35 +00:00
Dict Xiong
165e372a15 nixos/doh-server: init 2025-01-07 23:37:47 +01:00
piegames
dd7d5339f7 treewide: Fix incorrect string indentations 2025-01-07 19:49:28 +01:00
piegames
603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
github-actions[bot]
a0509da074
Merge master into staging-next 2025-01-07 18:04:37 +00:00
Michele Guerini Rocco
e7bd1e2e10
nixos/dhcpcd: update sandboxing options (#349041) 2025-01-07 16:54:30 +01:00
github-actions[bot]
bccd5433ad
Merge master into staging-next 2025-01-07 00:15:12 +00:00
Bjørn Forsman
58f12ee8a6 nixos/homepage-dashboard: fix stale cache issue
When the cache is stale, homepage-dashboard serves bad data (UI lacks
styling etc.). This issue happens at least on homepage-dashboard version
upgrades.

Fixes https://github.com/NixOS/nixpkgs/issues/346016.
2025-01-06 22:37:35 +01:00
oxalica
a189e89e2a nixos/earlyoom: mention extraArgs breakage and fix example
The shell-escaping breaks space handling and also makes the example
outdated. This breakage is missed in the previous change.

Also mention it in the release note.
2025-01-06 15:44:14 -05:00
Izorkin
21bb7ea948
nixos/dhcpcd: update sandboxing options 2025-01-06 22:24:56 +03:00
K900
9e51fd8b02 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-06 21:13:31 +03:00
Matthieu Coudron
55c0a30825
mptcpd: init at 0.13 (#355928) 2025-01-06 18:27:11 +01:00
Bjørn Forsman
be0fda6511 homepage-dashboard: prefix nixpkgs-specific env var with NIXPKGS_
I thought HOMEPAGE_CACHE_DIR was an upstream env var, and it confused me
a lot. Let's prefix it with NIXPKGS_ to make it clear that it's nixpkgs
specific.
2025-01-06 18:18:57 +01:00
Bjørn Forsman
cc5645c6e0 nixos/dhcpcd: fix updating resolv.conf when using systemd-resolved
Fix the regression between NixOS 24.05 and 24.11 where using dhcpcd
(e.g. networking.useDHCP) and systemd-resolved
(services.resolved.enable) result in no "search" entry getting added to
/etc/resolv.conf, and dhcpcd logging the following error:

  $ systemctl status dhcpcd
  [...] dhcpcd[2896]: Failed to set DNS configuration: Interactive authentication required.

Fix it by adding a polkit rule that gives the required permissions to
the 'dhcpcd' user to manipulate resolved. The rule was made by using
polkit logging and allowing each action.id until the above error went
away, and /etc/resolv.conf got the correct search entry.
2025-01-06 18:07:52 +01:00
Will Fancher
ece718c464
nixos/systemd-stage-1: Fix FIDO2 udev rules (#371384) 2025-01-06 11:43:39 -05:00
Will Fancher
fd8696a178 nixos/systemd-stage-1: Fix FIDO2 udev rules
Fixes #368856
2025-01-06 11:41:39 -05:00
K900
db08c8d4da Merge remote-tracking branch 'origin/staging-next' into staging 2025-01-06 18:21:19 +03:00
Michele Guerini Rocco
d575340ffb
nixos/alsa: rebirth from the ashes (#337345) 2025-01-06 11:08:25 +01:00
Gaétan Lepage
0e9891503a
nixos/fcitx5: fix quickphrase (#368743) 2025-01-06 09:01:05 +01:00
github-actions[bot]
a65d8c74cd
Merge staging-next into staging 2025-01-06 06:05:48 +00:00
Pol Dellaiera
942e79dbd2
nixos/netbird: fix state directory mode (#371315) 2025-01-06 07:01:42 +01:00
Patrick
8e44bd9c66
nixos/netbird: fix state directory mode 2025-01-06 02:14:42 +01:00
github-actions[bot]
a58f8abed0
Merge staging-next into staging 2025-01-06 00:15:41 +00:00
Christian Kögler
c699985294
plantuml-server: remove unnecessary systemd option path (#309893) 2025-01-06 00:06:55 +01:00
Christian Kögler
945777b8ed
nixos/zfs: Set scrub default IOSchedulingClass to idle (#312193) 2025-01-05 23:57:50 +01:00
Will Fancher
b7ea795937
nixos/overlayfs: add a switch to disable prefixing with /sysroot for initrd mounts (#340763) 2025-01-05 17:56:41 -05:00
Will Fancher
764082c095
nixos/fileSystems: add enable option (#301915) 2025-01-05 17:40:23 -05:00
Christian Kögler
5abdde9f60
udev: substitute /usr/bin/cat in rules (#370740) 2025-01-05 23:35:03 +01:00
Donovan Glover
310cc42940
anbox: drop (#370821) 2025-01-05 22:19:09 +00:00
Ryan Hendrickson
289a4c6631
nixos/btrbk: add snapshotOnly option (#369480) 2025-01-05 16:30:50 -05:00
Thiago Kenji Okada
6e6188af7b
image/images: Adapt remaining images to system.build.image & normalized filenames, (#359345) 2025-01-05 20:28:23 +00:00
github-actions[bot]
16abba216f
Merge staging-next into staging 2025-01-05 18:04:38 +00:00
Martin Weinelt
538b8b43e2
nixos/wstunnel: improve assertions (#368755) 2025-01-05 18:18:52 +01:00
Maximilian Ehlers
f199d57ad6
nixos/jupyter: migrate service to jupyter 7 setup (#367106)
Signed-off-by: Maximilian Ehlers <maximilian@sodawa.com>
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-01-05 22:37:25 +05:30
Michael Livshin
b758495e5d udev: "--replace" -> "--replace-quiet" in substitutions
"--replace" is deprecated, and neither vocal new alternative is
appropriate in this case.
2025-01-05 17:28:42 +02:00
Pol Dellaiera
683480ad9d
nixos/cryptpad: fix service with nodejs 22.11 (#371085) 2025-01-05 16:17:25 +01:00
Thomas Gerbet
9330230e47 anbox: drop
Upstream project is not maintained anymore and the package
currently does not build.

https://github.com/anbox/.github/blob/main/profile/README.md
2025-01-05 16:16:26 +01:00
github-actions[bot]
eb439c03f4
Merge staging-next into staging 2025-01-05 12:05:44 +00:00
Lin Jian
debb218a7a
nixos/kmonad: add new option enableHardening (#370437) 2025-01-05 19:02:27 +08:00
github-actions[bot]
0e4036ae26
Merge staging-next into staging 2025-01-05 10:10:13 +00:00
Jörg Thalheim
a11fc44515 Merge remote-tracking branch 'upstream/staging-next' into HEAD 2025-01-05 11:05:38 +01:00
Dominique Martinet
cf498c1a61 nixos/cryptpad: fix service with nodejs 22.11
nixosTests.cryptpad started failing recently.

Investigating the issue shows that seccomp has become problematic during
the init phase, (e.g. this can be reproduced by removing the customize
directory in /var/lib/cryptpad):

machine # [   10.774365] systemd-coredump[864]: Process 756 (node) of user 65513 dumped core.
machine #
machine # Module libgcc_s.so.1 without build-id.
machine # Module libstdc++.so.6 without build-id.
machine # Module libicudata.so.74 without build-id.
machine # Module libicuuc.so.74 without build-id.
machine # Module libicui18n.so.74 without build-id.
machine # Module libz.so.1 without build-id.
machine # Module node without build-id.
machine # Stack trace of thread 756:
machine # #0  0x00007ff951974dcb fchown (libc.so.6 + 0x107dcb)
machine # #1  0x00007ff95490d0c0 uv__fs_copyfile (libuv.so.1 + 0x150c0)
machine # #2  0x00007ff95490d89a uv__fs_work (libuv.so.1 + 0x1589a)
machine # #3  0x00007ff954910c76 uv_fs_copyfile (libuv.so.1 + 0x18c76)
machine # #4  0x0000000000eb8a39 _ZN4node2fsL8CopyFileERKN2v820FunctionCallbackInfoINS1_5ValueEEE (node + 0xab8a39)
machine # #5  0x0000000001cda5e2 Builtins_CallApiCallbackGeneric (node + 0x18da5e2)
[...]
machine # [   10.877468] cryptpad[685]: /nix/store/h4yhhxpfm03c5rgz91q7jrvknh596ly2-cryptpad-2024.12.0/bin/cryptpad: line 3:   756 Bad system call         (core dumped) "/nix/store/fkyp1bm5gll9adnfcj92snyym524mdrj-nodejs-22.11.0/bin/node" "/nix/store/h4yhhxpfm03c5rgz91q7jrvknh596ly2-cryptpad-2024.12.0/lib/node_modules/cryptpad/scripts/build.js"

nodejs 20.18 rightly did not require chown when the source and
destination are the same owner (heck, the script does not run as
root so even if it is not blocked there is no way it'd work with a
different owner...)

For now just allow chown calls again, this is not worth wasting more
time.

Fixes https://github.com/NixOS/nixpkgs/issues/370717
2025-01-05 17:43:24 +09:00
Kira Bruneau
8bc4f19b89 nixos/klipper: build genconf, firmware & flasher using package opt 2025-01-05 11:34:31 +04:00