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

24542 commits

Author SHA1 Message Date
Martin Weinelt
a794031c59
Revert "nixos/dovecot: improve and harden systemd unit" 2025-07-06 02:13:07 +02:00
Maximilian Bosch
85ec73855b
Merge: nixos/nextcloud: document nextcloud-occ command (#422639) 2025-07-05 18:44:48 +02:00
Wolfgang Walther
aa0388067d
postgresql_18: init at 18beta1 (#411958) 2025-07-05 14:08:39 +00:00
Kamil Monicz
f9339c853e
nixos/postgresql: document beta versioning 2025-07-05 15:36:17 +02:00
Kamil Monicz
82248a6f7a
nixos/postgresql: warn about unstable status 2025-07-05 15:36:14 +02:00
Ivan Dimitrov
ff75103a7c
nixos/monero: allow pruning with option (#421289) 2025-07-05 14:28:39 +02:00
Maximilian Bosch
5a6f0a43ae
nixos/nextcloud: document nextcloud-occ command
It's not clear how to use this command in other systemd units, this
section gives a recommendation.

I realized that there's no explicit mention of `nextcloud-occ` in the
first place, so I wrote some introductory sentences as well.
2025-07-05 12:42:06 +02:00
Kamil Monicz
abc5cff372
nixos/postgresql: deduplicate postgresql and use cfg.finalPackage 2025-07-05 11:52:42 +02:00
Maximilian Bosch
0ccca18bd8
Merge: nixos/nextcloud-notify_push: allow overwriting recommendedProxySettings without mkForce (#421786) 2025-07-05 11:40:11 +02:00
Maximilian Bosch
c21958fae8
Merge: nixos/nextcloud: add assertion explaining to set dbtype (#422433) 2025-07-05 10:00:20 +02:00
K900
a6900e5833
nixos/lasuite-meet: init (#407742) 2025-07-05 10:21:40 +03:00
soyouzpanda
15f71480e2 nixos/lasuite-meet: init 2025-07-05 10:10:15 +03:00
Morgan Jones
2ba055ea87
util-linux, kubernetes, k3s: drop util-linux.withPatches (#421985) 2025-07-04 19:23:49 -07:00
Pol Dellaiera
e0472e2056
nixos/drupal: make https the default for Caddy (#418254) 2025-07-04 23:47:12 +02:00
Dominique Martinet
78a20758e0 nixos/nextcloud: add assertion explaining to set dbtype
Since 25.05 dbtype no longer defaults to sqlite and this yields an error
that is understandable enough but not easy to properly address.

Add an assert that is more explicit.

Before:
```
       error: The option `nodes.nextcloud.services.nextcloud.config.dbtype' was accessed but has no value defined. Try setting the option.
```

After:
```
       error:
       Failed assertions:
       - `services.nextcloud.config.dbtype` must be set explicitly (pgsql, mysql, or sqlite)

       Before 25.05, it used to default to sqlite but that is not recommended by upstream.
       Either set it to sqlite as it used to be, or convert to another type as described
       in the official db conversion page:
       https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/db_conversion.html
```

Link: https://github.com/NixOS/nixpkgs/pull/369242#issuecomment-3036296243
2025-07-05 06:35:26 +09:00
Cosima Neidahl
7624084e1a
nixos/corteza: init, nixosTests.corteza: init (#420428) 2025-07-04 11:19:36 +02:00
Martin Weinelt
a289362e80
networkmanager: drop hard dependency on openconnect and cleanup plugin handling (#421042) 2025-07-04 03:08:40 +02:00
Martin Weinelt
88565a8620
nixos/dovecot: improve and harden systemd unit (#418722) 2025-07-03 23:44:45 +02:00
Philip Wilk
e97badfdd7 nixos/ups: add package option 2025-07-03 22:30:43 +02:00
Wolfgang Walther
bed266e629
nixos/postgresql: add section about pg_config (#421516) 2025-07-03 17:43:23 +00:00
Maximilian Bosch
e031c5ff6b
nixos/postgresql: add section about pg_config
See https://discourse.nixos.org/t/i-cannot-for-the-life-of-me-find-the-package-that-has-pg-config/66244/4

I decided against doing this in its own nixpkgs manual: the line
to draw is quite blurry already (e.g. we have documented our package
removal policy in here as well) and having to check two manuals for a
single subsystem feels pretty annoying to me.

The relevant part - where to find pg_config - is written at the top. I
decided to give a bit more context about the way our packaging works
since I realized a few times now that I don't remember all the details
about the problems we had in the past and having to look up individual
commit messages for that isn't very productive.
2025-07-03 19:33:01 +02:00
Maximilian Bosch
4dab91c096
Merge: treewide: move StartLimitIntervalSec/StartLimitBurst to unitConfig (#422098) 2025-07-03 18:42:34 +02:00
Sandro Jäckel
f88e1c39e9
treewide: move StartLimitIntervalSec/StartLimitBurst to unitConfig 2025-07-03 15:48:28 +02:00
Morgan Jones
949e299d24
kubernetes: use util-linuxMinimal instead of util-linux.withPatches
This, and commits to k3s and util-linux close #409339.
The util-linux.withPatches API was a temporary hack for the 25.05
release to fix Kubernetes, and is going away.

While we're at it, we should use util-linuxMinimal because we do not
need things such as systemd support for kubelet initialization.
2025-07-02 23:51:12 -07:00
Vladimir Timofeenko
7e7b797156 nixos/homebox: fix link to documentation 2025-07-02 08:26:51 -07:00
Sandro Jäckel
c049f1746c
nixos/nextcloud-notify_push: allow overwriting recommendedProxySettings without mkForce 2025-07-02 15:11:27 +02:00
Yang, Bo
3f377cfde8
nixos/avahi-daemon: add dependency to ensure /run/avahi-daemon is created before socket activation (#417635) 2025-07-02 13:03:14 +02:00
Martin Weinelt
c1e61be472
nixos/greetd: make use of package option (#412309) 2025-07-02 10:37:54 +02:00
Martin Weinelt
ae4a1a485a
treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00
Martin Weinelt
1f92c7c42a
nixos/dovecot: improve and harden systemd unit
Remove the major version from the unit name and add an alias for the old
dovecot2 name.

Then restricts what the dovecot service can do, which is very interesting
given that the unit runs as root and spawns less-privileged processes
from there.
2025-07-02 04:45:22 +02:00
Sizhe Zhao
c721b7dfe9
nixos/corteza: init 2025-07-01 19:01:16 +08:00
Franz Pletz
0f50a14681
nixos/prometheus-wireguard-exporter: add support for new flags (#410403) 2025-07-01 12:16:57 +02:00
Sandro
0d03b87da2
nixos/nix-{gc,optimise}: do not start when switching (#415324) 2025-07-01 11:59:50 +02:00
Sandro
ace047b8d5
nixos/xrdp: use --replace-fail with substituteInPlace, try #2 (#392512) 2025-07-01 11:59:37 +02:00
HE7086
ab2dc5c3f9
nixos/prometheus-wireguard-exporter: add support for new flags 2025-06-30 20:56:40 +02:00
Sandro
535b60b189
nixos/gitea: loosen SENDMAIL_PATH type (#421230) 2025-06-30 19:40:34 +02:00
Sandro Jäckel
e9efb4240e
nixos/nix-{gc,optimise}: do not start when switching
Co-authored-by: Sizhe Zhao <prc.zhao@outlook.com>
2025-06-30 18:13:01 +02:00
Franz Pletz
048245e16d
nixos/ntpd-rs: Validate the ntpd-rs.toml file (#406331) 2025-06-30 16:23:45 +02:00
Jonathan Davies
185eba3148
nixos/ntpd-rs: Validate the ntpd-rs.toml file 2025-06-30 15:24:05 +02:00
Martin Weinelt
312015eaaf
networkmanager-strongswan: rename from networkmanager_strongswan
This is to follow the same structure as all other nm plugins.
2025-06-30 14:45:37 +02:00
Jenny
9bb3e93ca4
nixos/librenms: fix link (#421053) 2025-06-30 14:35:59 +02:00
Sandro
4906a1a36d
nixos/govee2mqtt: start after network-online top hopefully have DNS (#415323) 2025-06-30 14:33:42 +02:00
Sandro Jäckel
41c3c329c8
nixos/gitea: loosen SENDMAIL_PATH type 2025-06-30 14:24:25 +02:00
Niklas Korz
14c234a296
duplicati: 2.1.0.2 -> 2.1.0.5 (#412906) 2025-06-30 12:36:05 +02:00
emilylange
d2a7d40650 nixos/sourcehut,sourcehut.*,nixosTests.sourcehut: drop
Sourcehut went a year with no update in nixpkgs, the packages did not
build for months, the module has issues at runtime, one of the
maintainers stopped using NixOS entirely and the other two don't respond
to issues.

Upstream has since also deprecated the Arch Linux and Debian
repositories to install Sourcehut. The only official way that remains is
Alpine Linux on x86_64-linux.
2025-06-30 12:29:16 +02:00
Franz Pletz
629135df7f
nixos/prometheus.alertmanagerIrcRelay: fix network-online.target ordering but not depending warning (#358851) 2025-06-30 12:26:16 +02:00
Franz Pletz
e8c0884917
nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds. (#419815) 2025-06-30 12:25:18 +02:00
Mateusz Galazyn
0fc73e5101
nixos/duplicati: add parameters-file option
Co-Authored-By: Jack Michaud <jack@lomz.me>
2025-06-30 12:12:27 +02:00
Martin Weinelt
ccdca43d80
nixos/networkmanager: drop default plugin list and toggle
It is unclear where this list originated, but it doesn't make sense to
ship it with all networkmanager installations. The most excessive plugin
is openconnect, that ships a 250 MB closure including webkitgtk.

Instead users now have to specify the plugins they want explicitly. I
updated the option to give hints on how to find them as best as I can.
2025-06-30 08:40:05 +02:00
Jörg Thalheim
34b498526c
nixos/easytier: init module (#398170) 2025-06-30 08:13:27 +02:00