0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00
Commit graph

35908 commits

Author SHA1 Message Date
Gaétan Lepage
0e9891503a
nixos/fcitx5: fix quickphrase (#368743) 2025-01-06 09:01:05 +01: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
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
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
Lin Jian
debb218a7a
nixos/kmonad: add new option enableHardening (#370437) 2025-01-05 19:02:27 +08: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
Pol Dellaiera
d562f18cd8
nixos/hardware.pcmcia: Fix passthru.function usage (#370929) 2025-01-05 05:56:34 +01:00
Pol Dellaiera
270fcad8b7
nixos/cron: Fix ShellCheck issues (#370910) 2025-01-04 23:38:43 +01:00
Pol Dellaiera
09348830bf
nixos/printers: Fix ShellCheck issue (#370909) 2025-01-04 23:37:26 +01:00
Pol Dellaiera
284cc71c43
nixos/tzupdate: Fix ShellCheck issue (#370908) 2025-01-04 23:36:56 +01:00
Martin Weinelt
8f3e1f8070
nixos/frigate: Also listen on port 5000 (#370762) 2025-01-04 18:41:09 +01:00
Mynacol
e9d9adb73f nixos/hardware.pcmcia: Fix passthru.function usage
passthru.function is not existent, instead use overrideAttrs which has
almost the intended functionality. It triggers a rebuild, which
_should_ be fine for this package.
2025-01-04 17:29:00 +00:00
Victor Engmark
250a448259
nixos/tzupdate: Fix ShellCheck issue
Fixes the following warning when setting
`systemd.enableStrictShellChecks = true`:

> In /nix/store/lbzbwz5w0r7rn1m2h3cwa57nfs0xy6dd-unit-script-tzupdate-start/bin/tzupdate-start line 6:
> timedatectl set-timezone $(/nix/store/q9bahab38yvn2lr3r3sdkvlnkg1rkzng-tzupdate-3.1.0/bin/tzupdate --print-only)
>                          ^-- SC2046 (warning): Quote this to prevent word splitting.
2025-01-04 18:09:07 +01:00
Victor Engmark
6bb5aa2d26
nixos/printers: Fix ShellCheck issue
Fixes the following warning when setting
`systemd.enableStrictShellChecks = true`:

> In /nix/store/a3mk99mgl10a4k3maxx361hdli5p2rip-unit-script-ensure-printers-start/bin/ensure-printers-start line 6:
> /nix/store/26fb46gwc5sbd045nj3dxw4zqpml359i-cups-2.4.11/bin/lpadmin -D 'virtual printer for cups-pdf instance pdf' -L '/var/spool/cups-pdf-pdf/users/${USER}' -m CUPS-PDF_opt.ppd -p pdf -v cups-pdf:/pdf -E
>                                                                                                                       ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
2025-01-04 18:08:22 +01:00
Victor Engmark
361c7f79b7
nixos/cron: Fix ShellCheck issue in preStart script
Fixes the following warning when setting
`systemd.enableStrictShellChecks = true`:

> SC2174 (warning): When used with -p, -m only applies to the deepest
> directory.

Since it could conceivably be possible for `/var` to not exist when
running this script, the fix also explicitly tries to create /var with
the normal 0755 permissions.
2025-01-04 18:07:52 +01:00
Martin Weinelt
a1945f760a
nixos/prometheus-exporters/fastly: fix secret handling (#370898) 2025-01-04 18:00:17 +01:00
Will Fancher
15be453e9a
switch-to-configuration: Better handling of socket-activated units (#359724) 2025-01-04 11:51:21 -05:00
Martin Weinelt
62f35da2a1
nixos/prometheus-exporters/fastly: fix secret handling
The exporter expects the token as an environment variable, not a path
to the file containing the token.
2025-01-04 17:48:56 +01:00
Gaétan Lepage
af96c38e09
nixos/oci-containers: option to set the service name of a oci-ontainer (#370089) 2025-01-04 15:39:41 +01:00
Thomas Gerbet
02c4f6e5d3
navidrome: 0.53.3 -> 0.54.3 (#369995) 2025-01-04 10:55:24 +01:00
fleaz
3c30d8182e
nixos/frigate: Also listen on port 5000
Frigate wants to connect on 127.0.0.1:5000 for unauthenticated requests
by checking the request port. This adress is hardcoded in the source.
See https://github.com/NixOS/nixpkgs/issues/370349 for more details
2025-01-04 01:30:03 +01:00
Weijia Wang
6decfbae3f
jellyseerr: 1.9.2 -> 2.1.0 (#360844)
* jellyseerr: migrate to by-name

* jellyseerr: 1.9.2 -> 2.1.0

* nixos/jellyseerr: add configDir option

* jellyseerr: pin nodejs_20
2025-01-04 01:16:47 +01:00
Weijia Wang
3a21ca23ab
unifi-controller: patchelf unifi's sdnotify, nixos/unifi: enable sd_notify, always restart service (#361945) 2025-01-04 01:09:06 +01:00
Ryan Hendrickson
a7f712ad6e
vmware-guest: Don't use lib directly for maintainers (#364628) 2025-01-03 18:31:30 -05:00
Ryan Hendrickson
aa8929efd7
Remove with lib from minimal profile; group config (#365239) 2025-01-03 18:19:49 -05:00
cy
acf701b49a nixos/btrbk: add snapshotOnly option 2025-01-03 18:03:10 -05:00
Michael Livshin
cdc84fcc96 udev: substitute /usr/bin/cat in rules
Used by alsa-utils 1.2.13.
2025-01-04 00:56:56 +02:00
Lin Jian
37e6624667
nixos/kmonad: add new option enableHardening
Before

```console
$ systemd-analyze security kmonad-foo.service | tail -n 1
→ Overall exposure level for kmonad-foo.service: 8.2 EXPOSED 🙁
```

After

```console
$ systemd-analyze security kmonad-foo.service | tail -n 1
→ Overall exposure level for kmonad-foo.service: 0.4 SAFE 😀
```
2025-01-04 03:41:15 +08:00
Robert Schütz
64e0c3052d
immich-public-proxy: init at 1.5.4, nixos/immich-public-proxy: init module (#362907) 2025-01-03 10:16:36 -08:00
Luke Granger-Brown
b0128a106c
cupsd: Allow major upgrades of gutenprint with cups-genppdupdate. (#129337) 2025-01-03 16:27:37 +00:00
K900
ef133efd71 nixos/galene: fix type error 2025-01-03 14:03:45 +03:00
Gaétan Lepage
f709cfe630
nixos/swapspace: add installWrapper option (#368539) 2025-01-03 08:49:44 +01:00
Franz Pletz
9a1c989117
dwm: add extraSessionCommands option (#267471) 2025-01-03 06:01:56 +01:00
Sandro
fd92a488b2
nextcloud: update a few defaults (#369242) 2025-01-03 02:59:31 +01:00
Wael Nasreddine
1dd16a796a
nixos/ncps: init service (#370153) 2025-01-02 15:25:37 -08:00
Lin Jian
aff999e6d4
nixos/kmonad: avoid running an unnecessary bash (#370064) 2025-01-03 07:22:46 +08:00
Wael Nasreddine
87b42d403e nixos/ncps: init service 2025-01-02 15:08:12 -08:00