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

21812 commits

Author SHA1 Message Date
Lin Jian
b86c19dad1
nixos/kmonad: add meta.maintainers
(cherry picked from commit ffea31ccbb)
2025-01-02 01:47:52 +08:00
Lin Jian
ced3bf7175 nixos/kmonad: make sure new config is used after nixos-rebuild switch
(cherry picked from commit 280715cf39)
2025-01-01 17:40:23 +00:00
Wolfgang Walther
fbd0dfb5b5
[Backport release-24.11] nixos/mediawiki: change user in maintenance scripts, use maintenance/run.php script (#368184) 2025-01-01 16:57:12 +01:00
Martin Weinelt
c940a51ecc nixos/coturn: restore logging functionality
Due to undetermined hardening changes logging to syslog does not work
anymore, but we don't need it. We're running in a systemd unit so allow
logging to stdout instead.

(cherry picked from commit 269d596970)
2025-01-01 12:39:43 +00:00
Sefa Eyeoglu
73970c9a59
[Backport release-24.11] restic: fixed handling of arguments with spaces in restic wrappers (#369906) 2025-01-01 11:59:10 +01:00
misuzu
237cd9d0c3
[Backport release-24.11] nixos/taskserver: fix systemd shellcheck warning (#369656) 2025-01-01 11:58:09 +02:00
Ilya Epifanov
644fb7ee53 restic: fixed handling of arguments with spaces in restic wrappers
(cherry picked from commit a21e4fa9e0)
2025-01-01 09:29:22 +00:00
Sandro Jäckel
85be2504dc nixos/hydra: fix hydra-compress-logs choking up on quoting when using zstd
(cherry picked from commit eb46f107af)
2024-12-31 20:23:26 +00:00
Christian Kögler
cf442b8946
[Backport release-24.11] nixos/ntpd: fix permissions error when creating drift file (#367479) 2024-12-31 15:26:42 +01:00
Adam Dinwoodie
86b0031b6b nixos/taskserver: fix systemd shellcheck warning
The taskserver-init systemd unit fails to build with
systemd.enableStrictShellChecks enabled, due to using the potentially
unsafe `mkdir -m`.  Fix that by moving directory creation out to
systemd.tmpfiles.

(cherry picked from commit 465ffab65d)
2024-12-31 12:46:29 +00:00
Martin Weinelt
3f044f4ec2 nixos/matter-server: allow AF_UNIX sockets for dbus connections
This is necessary for establishing bluetooth connections over dbus and
bluez.

(cherry picked from commit 2a7d47f814)
2024-12-30 20:53:54 +00:00
lucasew
bef2bd9e17 cockpit: 330 -> 331
Signed-off-by: lucasew <lucas59356@gmail.com>
(cherry picked from commit b06a23a614)
2024-12-29 21:29:04 -03:00
Jean-Baptiste Giraudeau
1e73565633 nixos/tts: fix handling of extraArgs
(cherry picked from commit 7ebb6132f4)
2024-12-28 11:19:35 +00:00
Gaetan Lepage
72c678b748 nixos/zfs-replication: fix typo
(cherry picked from commit 4b5bbe915e)
2024-12-28 09:52:54 +00:00
nix-backports[bot]
3f02dc2866
[Backport release-24.11] nixos/opensmtpd: fix tests, fix sendmail, add sendmail test (#368307)
* nixos/opensmtpd: fix opensmtpd test

(cherry picked from commit 42c2634653)

* nixos/opensmtpd: fix opensmtpd-rspamd test

(cherry picked from commit c340fd898c)

* fix opensmtpd's sendmail, add relevant test

(cherry picked from commit fb4ff06a4b)

* nixos/opensmtpd: run nixfmt as requested by ci

(cherry picked from commit 69a8aba113)

---------

Co-authored-by: Léo Gaspard <leo@gaspard.io>
2024-12-27 14:03:38 +01:00
Sebastian Sinnlos
0f711df147 nixos/ddclient: update defaults for usev4/6
Set to future upstream [default](5b104ad116) as current defaults are broken because the
endpoints of dyndns.com only serve http. See [ddclient issue 597](https://github.com/ddclient/ddclient/issues/597)

(cherry picked from commit 7a485e4780)
2024-12-27 08:56:05 +01:00
Alex Martens
377e15d686 nixos/ddclient: fix missing iproute2
When obtaining the IP address from an interface iproute2 is missing:

"Unable to obtain information for 'bond-wan' -- missing ip or ifconfig command"

The prefix check to include iproute2 is incorrect for "usev4" and "usev6".

Currently the NixOS module checks for the "if" prefix.  This prefix is
not valid with "usev4" and "usev6":

"Invalid Value for keyword 'usev4' = 'if'"

"ifv4" must be used with "usev4", and "ifv6" with "usev6".

I updated the nixos module to check for the correct prefix with "usev4"
and "usev6", and include iproute2 as necessary.

(cherry picked from commit 403dfb7c93)
2024-12-27 08:54:50 +01:00
Gaétan Lepage
b41d02428f
[Backport release-24.11] nixos/zfs-replication: add package option (#368420) 2024-12-26 23:54:16 +01:00
Gaetan Lepage
c4b251f5cc nixos/zfs-replication: add package option
(cherry picked from commit e5f2ebf6d3)
2024-12-26 21:55:21 +00:00
Sandro Jäckel
1e85e1fb23 nixos/nginx: default resolver.ipv6 to networking.enableIPv6
(cherry picked from commit a810945475)
2024-12-26 20:29:52 +00:00
Sandro Jäckel
6802c42c2e nixos/mediawiki: change user in maintenance scripts, use maintenance/run.php script, add deleteUserEmail,importDump,run scripts
script initially copied from nextcloud and run with run.php as requested by this big warning:

*******************************************************************************
NOTE: Do not run maintenance scripts directly, use maintenance/run.php instead!
      Running scripts directly has been deprecated in MediaWiki 1.40.
      It may not work for some (or any) scripts in the future.
*******************************************************************************

(cherry picked from commit 7c1f9a05ee)
2024-12-25 20:31:44 +00:00
Gaetan Lepage
917846b958 nixos/dolibarr: change permissions of conf.php to read only
(cherry picked from commit 8b235ad144)
2024-12-25 15:21:29 +00:00
Gaetan Lepage
aa86585e40 nixos/dolibarr: format
(cherry picked from commit 2dfabce386)
2024-12-25 15:21:29 +00:00
misuzu
4e2a4a7ce4
[release-24.11] backport xz firmware compression (#367832) 2024-12-25 12:55:23 +02:00
misuzu
942ba7cfbf
[Backport release-24.11] prometheus-frr-exporter: init prometheus exporter module (#368075) 2024-12-25 12:51:31 +02:00
misuzu
88809abc1f
[Backport release-24.11] mautrix-signal: 0.7.2 -> 0.7.3 (#367454) 2024-12-25 12:42:04 +02:00
K900
f3160e4c2f nixos/plasma6: default to Wayland for SDDM
While technically still experimental, it seems to produce less
issues than X11 at this point, and there's a weird issue with
X11 setups that we've been unable to track down that really
hurts the new user experience, so let's just go with this.

(cherry picked from commit 7a2cb2ad15)
2024-12-25 08:58:10 +00:00
Nico Felbinger
b0ed1368e1 prometheus-frr-exporter: init prometheus exporter module
(cherry picked from commit 578c5b6583)
2024-12-25 07:21:04 +00:00
Jörg Thalheim
63a5a73002 nixos/firmware: fix compression condition
(cherry picked from commit ace2b4c260)
2024-12-24 07:55:52 +01:00
Jörg Thalheim
4b39b2b37a nixos/firmware: make compression configurable
In nixos-images for nixos-anywhere, we optimize for the smallest
possible image size because our installer is loaded into RAM.

(cherry picked from commit 0a9dd5612d)
2024-12-24 07:55:49 +01:00
euxane
d522a98a19 maintainers: rename pacien -> euxane, update details
(cherry picked from commit 1dabc1f584)
2024-12-24 00:39:12 +01:00
Stefan Frijters
dbb71e266a nixos/ntpd: fix permissions error when creating drift file
This fixes "frequency file /var/lib/ntp/ntp.drift.TEMP: Permission denied".

Creating a directory via StateDirectory makes that directory /var/lib/ntp owned by root:root.
However, when running ntpd we change to user ntp (see ntpFlags), so the process cannot
actually use that directory.

Actually creating a home directory for the user at that location solves that problem.

(cherry picked from commit 31942f20f4)
2024-12-22 22:21:04 +00:00
Maximilian Bosch
55f14ebf6a mautrix-signal: 0.7.2 -> 0.7.3
ChangeLog: https://github.com/mautrix/signal/releases/tag/v0.7.3
(cherry picked from commit 705ae9b92e)
2024-12-22 20:59:18 +00:00
Wolfgang Walther
0ebf06bec1
[Backport release-24.11] firefly-iii: 6.1.24 -> 6.1.25, nixos/firefly-iii: Improved cache clearing (#366888) 2024-12-22 13:09:19 +01:00
Jan Tojnar
550f5ca91c
Merge Backport gnome updates/fixes (#365374) 2024-12-21 16:14:00 +01:00
jopejoe1
d3230c2c13
[Backport release-24.11] nixos/networkmanager: add options to supply secrets to connection profiles based on secret files (#366838) 2024-12-21 13:43:58 +00:00
Savyasachee Jha
3a0096551c nixos/firefly-iii: Improved cache clearing
(cherry picked from commit 51bed7030f)
2024-12-20 18:13:16 +00:00
lilly
4672d4c94c nixos/networkmanager: add nm-file-secret-agent options
nm-file-secret agent is a small agent that can supply secrets of
connection profiles to NetworkManager by reading the contents of
preconfigured files.
These files could be supplied e.g. by nixos-sops or any other mechanism.

(cherry picked from commit 24e0db1ba9)
2024-12-20 14:35:51 +00:00
gileri
d62d43afe5 tt-rss: Add updateDaemon.commandFlags parameter
(cherry picked from commit b652b30119)
2024-12-20 10:59:44 +00:00
Lily Ballard
3a03464273 gnome: check for package exclusions by name for default program modules
This matches how `environment.gnome.excludePackages` works elsewhere,
and prevents evaluation from failing when an excluded package is not
available (e.g. by having a blocklisted license).

(cherry picked from commit 8e1ad9ba92)
2024-12-19 15:54:07 +01:00
Martin Weinelt
263aec7539 nixos/prometheux-exporters/rasdaemon: init
(cherry picked from commit f6f1febc43)
2024-12-19 14:27:02 +00:00
Jean-Baptiste Giraudeau
967b230eff nixos/gancio: add gancio to nginx extraGroups only if nginx enabled
(cherry picked from commit da7b5ed446)
2024-12-17 20:19:32 +00:00
Aaron Ecay
61d89818ce fix dhcpcd when ipv6 is disabled
(cherry picked from commit ebbdb61935)
2024-12-16 16:56:29 +00:00
Jenny
1b883cee19
[Backport release-24.11] nixos/librenms: use db socket when set and add package option (#365217) 2024-12-15 12:20:10 +01:00
Ryan Horiguchi
c4d748d54a nixos/librenms: add package option and expose package
(cherry picked from commit d512e07338)
2024-12-14 17:23:47 +00:00
Ryan Horiguchi
2b70f03006 nixos/librenms: use db socket when set
(cherry picked from commit 7241f54c9f)
2024-12-14 17:23:47 +00:00
Pyrox
4d95c21f0f nixos/forgejo,forgejo: Add pyrox0 as a maintainer
(cherry picked from commit b800579648)
2024-12-12 22:38:58 +00:00
emilylange
338f07c36f nixos/forgejo: fix typo in builtin ssh server conditional
This conditional was introduced in 402b5c67a8
and is supposed to check for `server.START_SSH_SERVER` but instead
checked for `START_SSH_SERVER`.

Co-Authored-By: Pyrox <pyrox@pyrox.dev>
(cherry picked from commit ecd595ef80)
2024-12-12 22:38:58 +00:00
Pyrox
9f1c273c01 nixos/forgejo: replace GITEA_ prefix in env with FORGEJO_
Since https://codeberg.org/forgejo/forgejo/issues/497 has been resolved,
these can now be `FORGEJO_` prefixed instead of `GITEA_`.

Co-Authored-By: Emily <git@emilylange.de>
(cherry picked from commit 665063ca71)
2024-12-12 22:38:58 +00:00
Maximilian Bosch
cfd92cfb75 nixos/doc: document how to allow-list tablespaces
It was brought up that the restricted file-system access breaks
tablespaces[1]. I'd argue that this is the desired behavior, the whole
point of the hardening is the lock the service down and I don't consider
tablespaces common enough to elevate privileges again. Especially since
the workaround is trivial as shown in the diff.

For completeness sake, this adds the necessary `ReadWritePaths` change
to the postgresql section of the manual.

This also adds a small correction about the state of
`ensurePermissions`.

[1] https://github.com/NixOS/nixpkgs/pull/344925#issuecomment-2521188907

(cherry picked from commit 51a6938a44)
2024-12-12 15:43:42 +00:00