Commit graph

38754 commits

Author SHA1 Message Date
Cosima Neidahl 7624084e1a
nixos/corteza: init, nixosTests.corteza: init (#420428) 2025-07-04 11:19:36 +02:00
K900 32ee423db2
nixos/installer: ship the minimal ISO with networkmanager (#421082) 2025-07-04 05:05:19 +03: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
Vladimir Timofeenko 7e7b797156 nixos/homebox: fix link to documentation 2025-07-02 08:26:51 -07: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
Emily 3019ed2ecf
xen: 4.19.1 -> 4.20.0 (#373294) 2025-07-01 15:35:12 +01: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
Wolfgang Walther 9c7bbf0a96
various: drop colemickens as maintainer (#420686) 2025-06-30 13:59:17 +00:00
Jonathan Davies 185eba3148
nixos/ntpd-rs: Validate the ntpd-rs.toml file 2025-06-30 15:24:05 +02:00
Florian Klink d50f788f4d
nixos/systemd-initrd: Fix fsck.xfs failing due to missing sh (#420745) 2025-06-30 16:00:10 +03: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 1ef7d63228
nixos/installer: ship the minimal ISO with networkmanager
With networkmanager we can provide a much more welcoming network setup
experience in the installer and it costs us less than 10 MB with this
configuration on the minimal ISO.

By default, for new profiles it will enable DHCP and RA and allow
interactive reconfiguration through `nmtui` or `nmcli`. Especially the
TUI interface is very easy to pick up and removes the need for typing in
manual commands when setting up the WLAN connection.
2025-06-30 10:37:11 +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
Martin Weinelt 6e1cd10adb
nixos/networkmanager: clean up plugin handling
There is no point in having a special option to enable strongswan, when
we can just parse the intent from the plugin list instead.

Also pick up relevant runtime dependency information from the plugin
package instead of providing additional options or hardcoding them.
2025-06-29 22:53:27 +02:00
Martin Weinelt ab2ec92d5b
nixos/wyoming/faster-whisper: fix eval (#421107) 2025-06-29 22:51:14 +02:00
Sandro 6dcce44311
prometheus-mailman3-exporter: init at 0.9.1 (#398164) 2025-06-29 22:30:36 +02:00
Martin Weinelt 59f235c79d
nixos/wyoming/faster-whisper: fix eval
Various issues were introduced in the latest update that required module
changes. This can be attributed to an apparent lack of attention for
which I apologize.
2025-06-29 22:19:45 +02:00
Sandro e3180b7675
nixos/librenms: fix link 2025-06-29 18:41:21 +02:00
Wolfgang Walther ff0515b50b
nixos/chrony: fix defaultText rendering of enableMemoryLocking option (#420789) 2025-06-29 15:40:25 +00:00
Martin Weinelt 7874cc6005
nixos/postfix-tlspol: fix config reload
Since we only pass a symlink to ExecStart we need to pass the backing
file as a reload trigger.
2025-06-28 23:44:37 +02:00
Martin Weinelt df0eb78b31
nixos/postfix-tlspol: migrate to static user/group
This fixes postfix' membership in the postfix-tlspol group, since
memberships in a dynamically allocated group don't seem to work out.

Additionally this fixes a typo in the systemd hardening and the test now
prints the results of systemd-analyze security.
2025-06-28 23:40:19 +02:00
Martin Weinelt 16ce859442
nixos/postfix-tlspol: fix postfix group membership (#418568) 2025-06-28 23:05:38 +02:00
Sandro 3f7ea147a0
nixos/gitea: drop mailerUseSendmail option and use PROTOCOL as an indication instead (#384582) 2025-06-28 20:31:26 +02:00
Sandro Jäckel 0886377f64
nixos/gitea: drop mailerUseSendmail option and use PROTOCOL as an indication instead
This option does not configure sendmail itself because it is impossible
as sendmail is an alias for many things and could mean msmtp or postfix
or exim or something else.

Instead we rely on the PROTOCOL setting as initially proposed #384582
and based on that open up the sandboxing settings because if the user
configures sendmail, they want it to work and not have to configure yet
another things.

Also makes postfix specific things conditional on postfix being enabled
as msmtp does not need them.

Also we can set SENDMAIL_PATH unconditionally as every wrapper I am
aware of uses that path.
2025-06-28 18:58:57 +02:00
Bas Nijholt 06acce89f1
nixos/wyoming-faster-whisper: fix typo in assertion
Fixes typo in assertion: `initialPromt` -> `initialPrompt`

This typo causes the module to fail with:

```
error: A definition for option `assertions' is not of type `list of unspecified value'. Definition values:
- In `/nix/store/.../nixos/modules/services/home-automation/wyoming/faster-whisper.nix': <function>
```

The typo was introduced in the v2.5.0 update.​​​​​​​​​​​​​​​​
2025-06-28 09:55:58 -07:00