0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 08:31:01 +03:00
Commit graph

21812 commits

Author SHA1 Message Date
liberodark
889c8cf3d7 nixosModules.MooseFS: Improve
(cherry picked from commit b3429b3ed3)
2025-01-23 10:35:01 +00:00
teutat3s
dd1123fd85 nixos/matrix-appservice-irc: fix signing key
generation for media proxying support

(cherry picked from commit 001492fe17)
2025-01-21 16:49:19 +00:00
Wolfgang Walther
9e98b831a6
[Backport release-24.11] nixos/realmd: init (#374643) 2025-01-19 19:04:51 +01:00
Martin Weinelt
d862cce5d8 nixos/postgresql: fix condition for readwritepaths
In the case that the user wants to provide a custom data directory, we
need to grant `ReadWritePaths` for that directory. Previously this would
not happen when `/var/lib/postgresql` was used, because the condition
was not in fact checking for the default data directory, creating a gap
in then if-else scenario.

Fixes: #371680
(cherry picked from commit 4d0f802848)
2025-01-19 11:32:45 +00:00
Alex Martens
e9fb4e47e7 nixos/borgbackup: fix typo in example
(cherry picked from commit 74de1cde51)
2025-01-18 17:04:06 +00:00
liberodark
4990105801 nixos/realmd: init
(cherry picked from commit 04e79697fa)
2025-01-17 21:14:03 +00:00
Wolfgang Walther
4db55f19f4
[Backport release-24.11] trilium-next-{desktop,server}: init at 0.90.12 (#374087) 2025-01-16 21:28:22 +01:00
Wolfgang Walther
04e7e0097e
[Backport release-24.11] prometheus-frr-exporter: fix communication to frr unix socket (#373547) 2025-01-16 21:03:35 +01:00
Nico Felbinger
6ee1667861
prometheus-frr-exporter: fix communication to frr unix socket
(cherry picked from commit 7bb9f739ef)
2025-01-16 19:52:37 +01:00
Oliver Schmidt
ddbe88f0ec nixos/matomo: better check for database being set up
Since matomo-5.2.0, the config.php.ini is already created when first
accessing the installer page without completing it. This breaks our
discovery of whether to run database migrations.

Attempting to run DB migrations without provided database credentials
causes a crash -> causing matomo-setup-update.service to fail -> causing
phpfpm-matomo.service to fail.

(cherry picked from commit 10f670ab7e)
2025-01-15 18:06:51 +00:00
Elian Doran
67d2c574bd nixos/trilium: add adjustable package
(cherry picked from commit 655768419e)
2025-01-15 15:36:10 +00:00
Martin Weinelt
10123351c1
[Backport release-24.11] nixos/home-assistant: add support for amshan (#373501) 2025-01-13 19:45:08 +01:00
Silvan Mosberger
e110b9d12d
[Backport 24.11] More string fixes (#372975) 2025-01-13 18:27:35 +01:00
Bjørn Forsman
155c78d8bb nixos/home-assistant: allow amshan to access serial ports
Separate it from the first part of the list, because that part is
updated mechanically.

(cherry picked from commit bbcb27714f)
2025-01-13 17:01:08 +00:00
Jana Steuernagel
a473760efb nixos/wyoming-faster-whisper: remove ProcSubset protection
ProcSubset protection blocks faster-whisper from parsing /proc/cpuinfo
This results in a fallback to a suboptimal processing method, causing
processing times to be unnecessarily long

(cherry picked from commit d9ff154b74)
2025-01-13 13:56:37 +00:00
Maximilian Bosch
76b1e1fc84
Revert "[Backport release-24.11] nixos/alsa: rebirth from the ashes" 2025-01-12 19:49:08 +01:00
azahi
14d5e92afa nixos/endlessh-go: fix DNS resolution
As suggested by toast003[1].

[1]: https://github.com/shizunge/endlessh-go/discussions/127#discussioncomment-11760912

(cherry picked from commit 99778e1bb5)
2025-01-12 12:09:55 +00:00
Wolfgang Walther
ba30a81385
[Backport release-24.11] nixos/frigate: Also listen on port 5000 (#370921) 2025-01-12 12:28:14 +01:00
Wolfgang Walther
f0974375a2
[24.11] pykms: unstable-2021-01-25 -> 0-unstable-2024-07-06 (#371194) 2025-01-11 17:37:38 +01:00
piegames
f6ea57fd16 treewide: Fix incorrect string indentations
(cherry picked from commit dd7d5339f7)
2025-01-11 17:29:21 +01:00
piegames
772006e8c0 treewide: Fix incorrect string escapes
(cherry picked from commit 603733851b)
2025-01-11 17:29:20 +01:00
Bjørn Forsman
3f0a8ac25f 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.

(cherry picked from commit cc5645c6e0)
2025-01-06 22:54:43 +01:00
Bjørn Forsman
772d5a297f 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.

(cherry picked from commit 58f12ee8a6)
2025-01-06 22:53:09 +01:00
Bjørn Forsman
6f17a8c377 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.

(cherry picked from commit be0fda6511)
2025-01-06 22:44:43 +01:00
rnhmjoj
ac277552dc nixos/alsa: add rnhmjoj as maintainer
(cherry picked from commit b0ee109529)
2025-01-06 10:28:19 +00:00
rnhmjoj
4ae218e66f nixos/alsa: rebirth from the ashes
The ALSA module was essentially removed in 3eeff547, with the main
motivation of avoiding confusion as to what `sound.enable` really meant.

As that could be achieved with a simple rename, this change brings back
the module in full force under the `hardware.alsa` namespace (with clear
beware signs for the pulse and pipewire folks) and adds a lot of useful
extra features. These include

 - `defaultDevice` to set the default playback and capture devices

 - `cardAliases`,`deviceAliases` to assign meaningful names to sound cards
   and devices (instead of say, `hw:0,1`)

 - `controls` to create virtual volume controls

 - `enableRecorder` to easily configure a loopback device to record
   the computer audio

 - fixes to the udev restore rules

(cherry picked from commit c8a84a01d5)
2025-01-06 10:28:19 +00:00
Patrick
af76d3d569 nixos/netbird: fix state directory mode
(cherry picked from commit 8e44bd9c66)
2025-01-06 06:02:14 +00:00
Masum Reza
f71f6c6380
[Backport release-24.11]: nixos/jupyter: migrate service to jupyter 7 setup (#371199)
Signed-off-by: Maximilian Ehlers <maximilian@sodawa.com>
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
(partially cherry picked from commit f199d57ad6)

Co-authored-by: Maximilian Ehlers <2843450+b-m-f@users.noreply.github.com>
2025-01-06 00:27:46 +05:30
MakiseKurisu
69385dd358
nixos/pykms: suggest dual stack binding
(cherry picked from commit 9224209720)
2025-01-05 18:15:33 +01:00
MakiseKurisu
2b67e03a80
nixos/pykms: allow overriding default package
(cherry picked from commit 0826de34a5)
2025-01-05 18:15:31 +01:00
fleaz
e72a66935a 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

(cherry picked from commit 3c30d8182e)
2025-01-04 17:41:41 +00:00
Martin Weinelt
f247dc37f7 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.

(cherry picked from commit 62f35da2a1)
2025-01-04 17:00:53 +00:00
squalus
613063ea7a navidrome: 0.53.3 -> 0.54.3
- Update to 0.54.3
- Add netgo tag required for build (https://github.com/navidrome/navidrome/issues/700)
- Add patchShebangs step for a script called by UI build
- Add settings option for telemetry

0.54.1 changelog: https://github.com/navidrome/navidrome/releases/tag/v0.54.1
0.54.2 changelog: https://github.com/navidrome/navidrome/releases/tag/v0.54.2
0.54.3 changelog: https://github.com/navidrome/navidrome/releases/tag/v0.54.3

Fixes CVE-2024-56362

(cherry picked from commit 19705d04f1)
2025-01-04 09:55:54 +00:00
Clemens Fruhwirth
865fd67780 cupsd: Allow major upgrades of gutenprint with cups-genppdupdate.
(cherry picked from commit 66a4cdc742)
2025-01-03 16:28:06 +00:00
phanirithvij
cda120e667 nixos/swapspace: add installWrapper option
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Co-authored-by: Luflosi <luflosi@luflosi.de>
(cherry picked from commit 64b06b0a19)
2025-01-03 07:50:17 +00:00
Lin Jian
dd88d7868c nixos/kmonad: avoid running an unnecessary bash
(cherry picked from commit c3588cf2c5)
2025-01-02 23:23:15 +00:00
Lin Jian
cca8a5caa2 nixos/kmonad: remove unnecessary cli flag --input
input has already been set in the config file.

(cherry picked from commit ed3f112a0e)
2025-01-02 23:23:15 +00:00
Lin Jian
239fb3fbd4
[Backport release-24.11] nixos/kmonad: create determinate symlinks (#370329) 2025-01-03 07:18:12 +08:00
Alexandru Scvortov
0d10119c1d kubernetes: kubelet.extraConfig should be attrsOf json.type
(cherry picked from commit 66ddf84c33)
2025-01-02 19:28:58 +00:00
Lin Jian
27d3b1b157
nixos/kmonad: create determinate symlinks
(cherry picked from commit 9695e75dde)

The 25.05 release note is manually removed.
2025-01-03 02:30:08 +08:00
Gaetan Lepage
95a171af36 nixos/zfs-replication: add --verbose to command line arguments
(cherry picked from commit 28f43d4628)
2025-01-02 10:54:51 +00:00
Gaetan Lepage
8999abb71e nixos/zfs-replication: use expanded arguments for clarity
(cherry picked from commit 83af87a206)
2025-01-02 10:54:51 +00:00
Wolfgang Walther
2f50889a72
[Backport release-24.11] nixos/hydra: fix hydra-compress-logs choking up on quoting when using zstd (#369772) 2025-01-01 20:07:02 +01:00
Lin Jian
433f87137f
[Backport release-24.11] nixos/kmonad: misc improvements (#370010) 2025-01-02 02:02:46 +08:00
Lin Jian
058a665d0c
nixos/kmonad: use lib.getExe
(cherry picked from commit 8463300edf)
2025-01-02 01:48:52 +08:00
Lin Jian
fba9b6486e
nixos/kmonad: use the official suffix for config file
Both the official Emacs[1] and Vim[2] plugins use kbd as the config file
suffix.

[1]: b07f3e1604/kbd-mode.el (L275)
[2]: 3797844519/ftdetect/kbd.vim (L18)

(cherry picked from commit f83da7d9bd)
2025-01-02 01:48:44 +08:00
Lin Jian
155e085d1f
nixos/kmonad: introduce a new helper function mkName
(cherry picked from commit 28a1740fd1)
2025-01-02 01:48:36 +08:00
Lin Jian
22ebf019dd
nixos/kmonad: make type of delay more strict
(cherry picked from commit 657ff03cc3)
2025-01-02 01:48:29 +08:00
Lin Jian
a4054a06e5
nixos/kmonad: simplify config for default keyboard name
(cherry picked from commit 23768e2a12)
2025-01-02 01:48:21 +08:00
Lin Jian
f5c476c368
nixos/kmonad: improve doc
(cherry picked from commit cbf4f6a86d)
2025-01-02 01:48:05 +08:00