Commit graph

7640 commits

Author SHA1 Message Date
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
nixpkgs-ci[bot] 62814d33b6
Merge staging-next into staging 2025-06-30 18:06:45 +00: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
nixpkgs-ci[bot] eee21ba9fa
Merge staging-next into staging 2025-06-30 12:08:05 +00: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
nixpkgs-ci[bot] 6d1ef78814
Merge staging-next into staging 2025-06-30 00:19:30 +00: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
K900 5985f13b69 Merge remote-tracking branch 'origin/staging-next' into staging 2025-06-27 21:07:44 +03: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
nixpkgs-ci[bot] 367477b054
Merge staging-next into staging 2025-06-24 18:06:44 +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
nixpkgs-ci[bot] efb976c94b
Merge staging-next into staging 2025-06-24 12:08:14 +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
K900 a10dfa1005 Merge remote-tracking branch 'origin/staging-next' into staging 2025-06-23 21:07:45 +03:00
Yorick cb6adfec42
victorialogs: init at 1.24.0 (#418806) 2025-06-23 17:05:41 +02:00
nixpkgs-ci[bot] cd0486dcd0
Merge staging-next into staging 2025-06-22 12:07:03 +00: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
nixpkgs-ci[bot] d9f7cbb224
Merge staging-next into staging 2025-06-22 00:20:02 +00: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
Marie Ramlow 5f5df9b7ad doc/rl-2511: document victorialogs package migration 2025-06-21 21:00:40 +02:00
nixpkgs-ci[bot] 7ca18ff1be
Merge staging-next into staging 2025-06-21 18:06:16 +00:00
Aleksana 46968b2c89
nixos/doc: document defining basic systemd services (#418385) 2025-06-21 23:22:27 +08:00
nixpkgs-ci[bot] 61df693362
Merge staging-next into staging 2025-06-20 12:08:09 +00:00
Maximilian Bosch 02dd6f762c
Merge: nixos/postgresql: make postgresql_17 the new default (#417502) 2025-06-20 13:09:11 +02:00
Arnout Engelen aba83e0a5d
nixos/doc: document defining basic systemd services 2025-06-20 11:55:11 +02:00
Ramses 62bebf864c
nixos/wstunnel: convert to RFC42-style settings (#415326) 2025-06-20 11:02:46 +02:00
K900 678cac2a01 Merge remote-tracking branch 'origin/staging-next' into staging 2025-06-20 09:07:52 +03:00
Emily dc90d27011
treewide: remove Perl-based switch-to-configuration (#414882) 2025-06-19 20:30:55 +01:00
nixpkgs-ci[bot] b2eaef7225
Merge staging-next into staging 2025-06-19 18:06:05 +00:00
Leona Maroni 0a8f3e11c0
fediwall: init at 0.4.0 (#413666) 2025-06-19 18:11:51 +02:00
nixpkgs-ci[bot] b6b1a8bcc0
Merge staging-next into staging 2025-06-19 00:18:48 +00:00
Adam Hellberg d202498189 gitversion: 5.12.0 -> 6.3.0
GitVersion 6.x brings some breaking changes to the config format,
having an up to date version is important for those working with the
newer format.

Release notes for 6.3.0 are here:
https://github.com/GitTools/GitVersion/releases/tag/6.3.0

But the notes for 6.0.0 document the breaking changes:
https://github.com/GitTools/GitVersion/releases/tag/6.0.0

Of note is that the website (https://gitversion.net) still advertises
5.12.0 in the top nav, but the [docs][1] refer to
[the new configuration format][2] introduced in 6.x, as well as
[updated version variables][3].

[1]: https://gitversion.net/docs/
[2]: https://gitversion.net/docs/reference/configuration
[3]: https://gitversion.net/docs/reference/variables
2025-06-18 22:53:59 +02:00
r-vdp 3c853295d9
nixos/wstunnel: convert to RFC42-style settings 2025-06-18 17:31:13 +02:00
nixpkgs-ci[bot] d91fe0541b
Merge staging-next into staging 2025-06-18 06:07:15 +00:00
nixpkgs-ci[bot] 63fd3b2b2c
Merge master into staging-next 2025-06-18 06:06:20 +00:00
Martin Weinelt ec572d581a
tlsrpt-reporter: init at 0.5.0 (#415483) 2025-06-18 03:47:15 +02:00
transcaffeine ba7d1fec08
nixos/fediwall: init 2025-06-17 20:45:25 +02:00
Maximilian Bosch 950a089393
nixos/postgresql: make postgresql_17 the new default
That's overdue actually, given that it was released last fall.
2025-06-17 12:33:21 +02:00
nixpkgs-ci[bot] d07fa982d9
Merge staging-next into staging 2025-06-16 12:07:59 +00:00
K900 458a0d727d Merge remote-tracking branch 'origin/master' into staging-next 2025-06-16 12:41:22 +03:00
Alejandro Sánchez Medina 60264c48e9
doc: point manual contributing guides to devmode's README (#411326)
There's quite a bit of pingpong redirection with Nixpkgs and NixOS
manual utilities. Since devmode was lacking a README, the descriptive
text is moved there and it's referenced by both manuals.
2025-06-16 11:03:45 +02:00
nikstur 14b7196c75 nixos/nix-store-veritysetup: add release note 2025-06-16 10:29:39 +02:00
RatCornu 1198555d31 nixos/szurubooru: add release note 2025-06-16 08:34:16 +02:00
RatCornu 94de595a56 nixos/szurubooru: init at 2.5-unstable-2025-02-11 2025-06-16 08:34:16 +02:00
Martin Weinelt 863d3a151d
nixos/tlsrpt: init 2025-06-16 06:02:10 +02:00
nixpkgs-ci[bot] 7540ea811e
Merge staging-next into staging 2025-06-15 18:05:57 +00:00
nixpkgs-ci[bot] f03967bdac
Merge master into staging-next 2025-06-15 18:05:14 +00:00
teutat3s 99535261ad
docker: move default from 27.x to 28.x
27.x is no longer maintained as of May 2, 2025[1].

[1] https://github.com/moby/moby/pull/49910
2025-06-15 17:25:45 +02:00
nixpkgs-ci[bot] b539b2bfa1
Merge staging-next into staging 2025-06-15 12:07:16 +00:00
nixpkgs-ci[bot] fd52a730a9
Merge master into staging-next 2025-06-15 12:06:22 +00:00
Aleksana 6abfe96f75
nixos/dwm-status: use structured RFC42 style settings (#416212) 2025-06-15 17:33:35 +08:00
nixpkgs-ci[bot] 6c2d2c77ed
Merge staging-next into staging 2025-06-15 00:20:16 +00:00
K900 d07e701d48 Merge remote-tracking branch 'origin/master' into staging-next 2025-06-14 23:38:13 +03:00
Pol Dellaiera 732ce7ece4
yeahwm: drop (#416319) 2025-06-14 15:13:56 +02:00
Martin Weinelt d94de05424
nixos/postfix: replace tls cert/key options and allow removing settings from rendered main.cf (#413427) 2025-06-14 14:47:14 +02:00
Acid Bong 07abe18272
nixos/dwm-status: use structured RFC0042-style settings 2025-06-14 13:17:28 +03:00
nixpkgs-ci[bot] 17033ae54f
Merge staging-next into staging 2025-06-14 00:17:31 +00:00
nixpkgs-ci[bot] 7001d06792
Merge master into staging-next 2025-06-14 00:16:47 +00:00
Philip Taron 51ad441bfa
nixos/gnome/gcr-ssh-agent: init (#379731) 2025-06-13 15:03:21 -07:00
Anthony Rodriguez 69534a2257
nixos/gcr-ssh-agent: init
Co-authored-by: lilyinstarlight <lily@lily.flowers>
2025-06-13 22:37:09 +02:00
Martin Weinelt 3cb8d47c1a
nixos/postfix: replace sslCert and sslKey options
There exist multiple issues with these options, for example they are not
introspectable, since the values are configured in the config part of the
module.

Also the keypair is always configured for both server and client usage,
which is really surprising. The postfix docs even advise against setting
up client certificates, if they aren't required. [1]

The replacements are the `smtpd_tls_chain_files` for server usage and
`smtp_tls_chain_files` for client usage, which are the prefered way to
configure keys and certificates since Postfix 3.4.0. [2]

[1] https://www.postfix.org/postconf.5.html#smtp_tls_cert_file
[2] https://www.postfix.org/postconf.5.html#smtpd_tls_cert_file
2025-06-13 19:53:33 +02:00
Michael Daniels c822122883 yeahwm: drop
This package is broken and unmaintained upstream.

See also https://github.com/NixOS/nixpkgs/pull/414901#issuecomment-2968784854
2025-06-13 08:05:09 -04:00
Connor Baker c02c4a4316
no-broken-symlinks: fail on links to /build (#411775) 2025-06-11 22:15:19 -07:00
nixpkgs-ci[bot] 2885d7583c
Merge master into staging-next 2025-06-12 00:17:36 +00:00
Martin Weinelt 1b59fd6732
nixos/postfix-tlspol: init (#415482)
* pkgs.formats.yaml_1_2: init

Same as YAML 1.1 but relies on the unpinned remarshal version which emits
YAML 1.2.

* nixos/postfix-tlspol: init

MTA-STS and DANE/TLSA resolver and TLS policy socketmap server for
Postfix.

* nixos/tests/postfix-tlspol: init

Simple test if the service comes up and the CLI can interact with it and
gives reasonable results.
2025-06-12 00:36:50 +02:00
Dominique Martinet 9b36201b94 no-broken-symlinks: fail on links to /build
The no-broken-symlinks hook does not fail if bad links exist out of
store, but /build is also a special directory for nix derivations: the
build directory in the builder mount namespace.

There should be no link to /build in the output derivation, so also
error on these directories (through $TMPDIR which default to that)

Closes #410508
2025-06-12 05:23:42 +09:00
nixpkgs-ci[bot] 5f8f0b6332
Merge master into staging-next 2025-06-11 18:05:32 +00:00
Adam C. Stephens 35a71aaf4b
nixos-rebuild-ng: enable by default (#415640) 2025-06-11 12:20:02 -04:00
Jared Baur c59d4343f9
treewide: remove Perl-based switch-to-configuration 2025-06-11 08:56:42 -07:00
Martin Weinelt 7c0f92f70b
nixos/postfix-tlspol: init
MTA-STS and DANE/TLSA resolver and TLS policy socketmap server for
Postfix.
2025-06-11 17:39:36 +02:00
nixpkgs-ci[bot] 25a1d550fc
Merge master into staging-next 2025-06-11 12:07:06 +00:00
Aleksana 5625b7eff6
nixos/doc: explain how to use the ff sync module with ff android (#413380) 2025-06-11 19:44:46 +08:00
Guillaume Girol a975ab0752 nixos/doc: explain how to use the ff sync module with ff android
source https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html#howto-run-sync15

Quotation:

```
Firefox for Android (“Daylight”, versions 79 and later) does support using a non-Mozilla-hosted Sync server. Before logging in, go to App Menu > Settings > About Firefox and click the logo 5 times. You should see a “debug menu enabled” notification. Go back to the main menu and you will see two options for a custom account server and a custom Sync server. Set the Sync server to the URL given above and then log in.

To configure Android Firefox 44 up to 78 to talk to your new Sync server, just set the “identity.sync.tokenserver.uri” exactly as above before signing in to Mozilla accounts and Sync on your Android device.

Important: after creating the Android account, changes to “identity.sync.tokenserver.uri” will be ignored. (If you need to change the URI, delete the Android account using the Settings > Sync > Disconnect… menu item, update the pref, and sign in again.) Non-default TokenServer URLs are displayed in the Settings > Sync panel in Firefox for Android, so you should be able to verify your URL there.
```

the /token/ prefix is experimentally wrong.
2025-06-11 12:00:00 +00:00
Thiago Kenji Okada 9806c0cd3e nixos/tools: enable system.rebuild.enableNg by default 2025-06-11 10:43:12 +01:00
nixpkgs-ci[bot] 013cc265db
Merge master into staging-next 2025-06-11 06:06:12 +00:00
Martin Weinelt abffff44f5
nixos/getaddrinfo: init (#413986) 2025-06-11 05:38:01 +02:00
nixpkgs-ci[bot] d665fb722a
Merge master into staging-next 2025-06-10 16:40:14 +00:00
Aleksana fb43fbd1a6
services.siproxd: drop (#412254) 2025-06-10 23:24:40 +08:00
Moraxyc f1eed27d39
release-notes: mention new module networking.getaddrinfo 2025-06-10 23:00:34 +08:00
K900 7479f39034 Merge remote-tracking branch 'origin/master' into staging-next 2025-06-09 18:08:45 +03:00
Maximilian Bosch 0d46fda974
nixos/vmalert: support multiple instances
vmalert only supports a single datasource for querying metrics and
managing alerts. Because of that, we need two instances to manage alerts
for both VictoriaLogs and VictoriaMetrics.

This is strongly inspired by the change made to Redis, i.e. a new
`instances` option was introduced with each option inside it.
With `mkRenamedOptionModule` it's ensured that existing configurations
still evaluate to the same result.
2025-06-09 10:38:58 +02:00
Charlotte 🦝 Deleńkec 62ab65aa5a
services.siproxd: drop
This is a followup to #408361 which removed siproxd. This change made
the module unusable due to the lack of the package argument.
2025-06-07 07:40:49 +01:00
Mistyttm 136d3d5cb1
nixos/mautrix-discord: init mautrix-discord module
Co-authored-by: William <willbou2@gmail.com>
Co-authored-by: Robin <robin@robin.town>
2025-06-07 14:14:46 +10:00
nixpkgs-ci[bot] 4339ec5da6
Merge master into staging-next 2025-06-06 19:32:04 +00:00
Martin Weinelt c80ea7a732
nixos/draupnir: init, nixosTests.draupnir: init (#400194) 2025-06-06 21:01:57 +02:00
K900 7e4f0fbf9d Merge remote-tracking branch 'origin/master' into staging-next 2025-06-06 21:50:43 +03:00
Rory& 4b153aad5d
nixos/draupnir: init
Co-authored-by: emilylange <git@emilylange.de>
Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de>
Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>
2025-06-06 15:35:31 +02:00