Commit graph

7595 commits

Author SHA1 Message Date
sodiboo 5a8660f10f nixos/meilisearch: generic settings; handle secrets better. 2025-07-13 20:42:05 +02:00
Philip Taron 8279ffe622
treewide: specify that mebibytes are used when it's ambiguous (#424169) 2025-07-11 12:29:33 -07:00
Connor Baker 6af71350c3
nixos/tee-supplicant: add tee-supplicant module (and more) (#237613) 2025-07-10 16:35:55 -07:00
Axel Karjalainen 7159ab6f43 treewide: specify where mebibytes are used when it's ambiguous 2025-07-11 00:44:23 +03:00
Martin Weinelt 468768b93b
Reapply "nixos/dovecot: improve and harden systemd unit" (#422829) 2025-07-07 01:25:22 +02:00
Martin Weinelt 5f9db3b506
nixos: stop using/installing nettools by default (#422270) 2025-07-07 00:32:19 +02:00
Ruby Iris Juric 11d8fbb0b6
nixos/sharkey: init module 2025-07-07 01:01:39 +10:00
Martin Weinelt 6403717045
Reapply "nixos/dovecot: improve and harden systemd unit"
This reverts commit a794031c59.

With the following additions:

Allow `CAP_KILL`, so the dovecot master process may interrupt its child
processes.

Allow new privileges, so dovecot and call the setuid sendmail executable.

Allow AF_NETLINK sockets, so dovecot sieve handling can use the
getifaddrs syscall.

Finally, we now asssert, that no options are set on the legacy dovecot2
systemd unit name, to make the user aware they need to update their
overrides.
2025-07-06 14:39:40 +02:00
Michele Guerini Rocco 7a473d6701
nixos/monero: add environmentFile option (#421759) 2025-07-06 14:02:49 +02:00
Robert Hensing 7845abc842
NixOS test framework: add overriding methods (#421480) 2025-07-06 13:40:24 +02:00
Robert Hensing f2b3aeb383 nixos.runTest: Add extendNixOS 2025-07-06 13:39:15 +02:00
Robert Hensing 63e2606ddf nixos.runTest: Add extend, overrideTestDerivation 2025-07-06 13:39:15 +02:00
Jaco Malan 1fb02bc8f9
nixos/monero: add environmentFile option 2025-07-06 10:33:44 +02:00
Martin Weinelt bf1b4d35fb
networking: don't install nettools by default
https://lwn.net/Articles/710533/ has been true in 2017 and still holds
today.
2025-07-06 00:59:36 +02:00
Maximilian Bosch 85ec73855b
Merge: nixos/nextcloud: document nextcloud-occ command (#422639) 2025-07-05 18:44:48 +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
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
Jared Baur b8937303ce
nixos/tee-supplicant: add tee-supplicant module
The tee-supplicant is a program that interacts with OP-TEE OS and allows
loading trusted applications at runtime (among other things). There is
an `optee` test included that uses the pkcs11 trusted application (in
upstream OP-TEE OS), loads it during system startup via tee-supplicant,
and uses `pkcs11-tool` to list available token slots.
2025-07-04 15:46:25 -07:00
Wolfgang Walther 778b27d2e9
doc: fixed number of Privacy Extensions RFC 4941 (#393402) 2025-07-04 15:45:08 +00:00
Sandro 3f03e8984e
renovate: 40.60.0 -> 41.16.0 (#420717) 2025-07-04 14:44:38 +02:00
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
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
Wolfgang Walther 5b1225460c
doc/installing-pxe: fix formatting (#421239) 2025-07-01 12:25:03 +00:00
Leonardo Taglialegne 48bc90c3a8 doc/installing-pxe: fix formatting 2025-07-01 14:00:16 +02:00
Sizhe Zhao 3034ec7d07
nixos/doc/rl-25.11: add corteza 2025-07-01 19:21:06 +08:00
Franz Pletz 8fcfcabfe7
nixos/documentation: compress configuration.nix.5 (#418972) 2025-06-30 16:40:48 +02:00
Jonathan Davies d095a566cb
nixos/release-notes: Add note about ntpd-rs configuration validation 2025-06-30 15:25:19 +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
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
Wolfgang Walther b4532efe93
**/README.md: one sentence per line
As documented in doc/README.md.
2025-06-29 21:14:32 +02:00
L-Trump 725a756dbb nixos/easytier: init module 2025-06-28 23:22:51 +08:00
Marie Ramlow cdc95fd814 nixos/doc/rl-2511: document renovate major upgrade 2025-06-28 10:29:36 +02:00
Maximilian Bosch a064abed61
Merge: nixos/postgresql: move postStart into separate unit (#403645) 2025-06-27 18:09:54 +02:00
Rémi NICOLE 17f82c3cd7
nixos/netbox: don't force use of sudo in netbox-manage (#419237) 2025-06-27 13:10:55 +00:00
Wolfgang Walther 9656e1aa9d
nixos/postgresql: make postgresql.target wait until recovery is done
The new postgresql.target will now wait until recovery is done and
read/write connections are possible.

This allows ensure* scripts and downstream migrations to work properly
after recovery from backup.

Resolves #346886
2025-06-24 15:26:48 +02:00
Wolfgang Walther 41c5662cbe
nixos/postgresql: move postStart into separate unit
This avoids restarting the postgresql server, when only ensureDatabases
or ensureUsers have been changed. It will also allow to properly wait
for recovery to finish later.

To wait for "postgresql is ready" in other services, we now provide a
postgresql.target.

Resolves #400018

Co-authored-by: Marcel <me@m4rc3l.de>
2025-06-24 15:26:47 +02:00
Wolfgang Walther 3a63b54b2c
nipap: init at v0.32.7 (#417076) 2025-06-24 13:18:00 +00:00
Izorkin f5c5dc5f5b nixos/gitea/mailer: fix using sendmail 2025-06-24 11:47:50 +02:00
Taliyah Webb 33ab0a191e
nixos/netbox: don't force use of sudo in netbox-manage 2025-06-24 11:20:10 +02:00
Luke Granger-Brown a013d9258c nixos/nipap: init 2025-06-23 21:52:32 +01:00
Yorick cb6adfec42
victorialogs: init at 1.24.0 (#418806) 2025-06-23 17:05:41 +02:00
Anton Mosich 97b9708f76
nixos/documentation: compress configuration.nix.5
This saves a few MB of disk space (8.4 -> 1.2 MB).
2025-06-22 13:50:31 +02:00
Guillaume Girol 129d9338e5
nixos/mautrix-discord: init mautrix-discord module (#404871) 2025-06-22 11:35:25 +02:00
John Titor 2ddd28966a nixos/doc/rl-25.11: add entry for bcachefs autoscrub
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-06-22 02:58:48 +05:30