Commit graph

5266 commits

Author SHA1 Message Date
Maximilian Bosch
90787dbe89
nixos/nextcloud: set up base directories & override.config.php with tmpfiles
Closes #169733

The issue is that Nextcloud fails to start up after a GC because the
symlink from `override.config.php` is stale.

I'm relatively certain that this is not a bug in the Nix GC - that
would've popped up somewhere else already in the past years - and one of
the reporters seems to confirm that: when they restarted
`nextcloud-setup.service` after the issue appeared, an
`override.config.php` pointing to a different hash was there.

This hints that on a deploy `nextcloud-setup` wasn't restarted properly
and thus replacing the symlink update was missed. This is relatively
hard to trigger due to the nature of the bug unfortunately (you usually
keep system generations for a few weeks and you'll need to change the
configuration - or stdenv - to get a different `override.config.php`),
so getting pointers from folks who are affected is rather complicated.

So I decided to work around this by using systemd-tmpfiles which a lot
of other modules already utilize for this use-case. Now,
`override.config.php` and the directory structure aren't created by
`nextcloud-setup`, but by `systemd-tmpfiles`.

With that, the structure is guaranteed to exist

* on boot, since tmpfiles are always created/applied then
* on config activation, since this is done before services are
  (re)started which covers the case for new installations and existing
  ones.

Also, the recursive `chgrp` was used as transition tool when we switched
from `nginx` as owning group to a dedicated `nextcloud` group[1][2], but
this was several releases ago, so I don't consider this relevant
anymore.

[1] fd9eb16b24
[2] ca916e8cb3
2024-01-12 22:11:36 +01:00
Julian Stecklina
ec2016dda4
doc: explain how to enable Rust support in the Linux kernel 2024-01-12 20:29:07 +01:00
Ryan Lahfa
3287441158
Merge pull request #275484 from Izorkin/update-nginx-http3
nixos/nginx: disable automatic advertise of HTTP/3 protocol support
2024-01-12 19:49:18 +01:00
Niko
9e2cd6f872
nixos/network-interfaces: remove network-interfaces.target
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2024-01-12 17:29:03 +01:00
Ryan Lahfa
176e84d44f
Revert "nixos/systemd-boot: init boot counting" 2024-01-11 01:00:43 +01:00
Ryan Lahfa
a6303da3a7
Merge pull request #273062 from JulienMalka/systemd-boot-counting
nixos/systemd-boot: init boot counting
2024-01-11 00:40:07 +01:00
Weijia Wang
2f9e98ccf3 Merge branch 'master' into staging-next 2024-01-10 23:12:44 +01:00
Peder Bergebakken Sundt
dff635f38d
Merge pull request #243169 from 2xsaiko/outgoing/krb5
nixos/krb5: cleanup, fix and RFC42-ify
2024-01-10 21:06:15 +01:00
github-actions[bot]
769e5f5d37
Merge master into staging-next 2024-01-10 18:01:17 +00:00
Nick Cao
cd8d49773e
Merge pull request #279757 from katexochen/k9s/0-31
k9s: 0.30.8 -> 0.31.1
2024-01-10 10:41:38 -05:00
jopejoe1
8967ac726c nixos/manual: update sshfs section 2024-01-10 00:24:48 +01:00
Sandro Jäckel
e05a981d05
xxd: reduce closure size by splitting it into it's own output 2024-01-09 22:29:32 +01:00
K900
838aefefc3 Merge remote-tracking branch 'origin/master' into staging-next 2024-01-09 22:42:37 +03:00
Thiago Kenji Okada
f4549e0603
Merge pull request #278088 from soywod/himalaya-v1.0.0-beta
himalaya: 0.8.4 -> 1.0.0-beta
2024-01-09 13:15:33 +00:00
K900
bff9ee8862 Merge remote-tracking branch 'origin/master' into staging-next 2024-01-09 13:03:34 +03:00
Jonas Chevalier
3f77dbdbd0
Merge pull request #279578 from trofi/beignet-drop
beignet: remove the package
2024-01-09 09:49:29 +01:00
Paul Meyer
d7b2afbb46 k9s: 0.30.8 -> 0.31.1 2024-01-09 09:11:02 +01:00
github-actions[bot]
6bf0bf35bb
Merge master into staging-next 2024-01-08 18:00:58 +00:00
Maciej Krüger
b5b2f6bec4
Merge pull request #277620 from nbraud/nixos/pam/ssh-agent-auth-31611
nixos/pam: Add option for ssh-agent auth's trusted authorized_keys files
2024-01-08 17:42:02 +01:00
Sergei Trofimovich
337036cffa beignet: remove the package
`beignet` saw no development since 2018 and was never ported from
`llvmPackages_6`. Is it's a library to support `OpenCL` on older GPUs
let's drop it from `nixpkgs`.
2024-01-08 10:33:46 +00:00
Jan Tojnar
ff42d23313 Merge branch 'master' into staging-next
Conflicts:

pkgs/development/python-modules/dbt-core/default.nix
pkgs/development/python-modules/dbt-semantic-interfaces/default.nix

Still broken by pydantic 2 bump, though.
2024-01-07 16:14:41 +01:00
Maciej Krüger
c931d73fba
Merge pull request #276499 from nbraud/nixos/pam/ssh-agent-auth
nixos/pam: Add assertion for SSH-agent auth
2024-01-07 13:54:27 +01:00
github-actions[bot]
9f96550945
Merge master into staging-next 2024-01-07 12:01:24 +00:00
Julien Malka
eb435897a6 nixos/systemd-boot: init boot counting 2024-01-07 11:34:09 +00:00
Jörg Thalheim
db59d03371
Merge branch 'master' into pr/bcachefs 2024-01-07 11:40:30 +01:00
Martin Weinelt
1442bd4bc7
Merge remote-tracking branch 'origin/master' into staging-next 2024-01-07 05:01:18 +01:00
Weijia Wang
98fc48b22d
Merge pull request #276174 from wegank/lilypond-guile-3
lilypond, denemo: migrate to guile 3
2024-01-07 01:51:52 +01:00
github-actions[bot]
17cf061755
Merge master into staging-next 2024-01-06 18:01:15 +00:00
Maximilian Bosch
e55b4c1ec7
Merge pull request #278493 from marrobHD/patch-1
nixos/nextcloud: fix dbport in config.php
2024-01-06 16:26:15 +01:00
Martin Weinelt
430fd07751
Merge remote-tracking branch 'origin/master' into staging-next 2024-01-06 04:57:06 +01:00
kxxt
d7bccab0bf release-note: change binary name and desktop entry for firefox-*
The executable file names for `firefox-devedition`, `firefox-beta`,
`firefox-esr` now matches their package names, which is consistent with
the`firefox-*-bin` packages.
The desktop entries are also updated
so that you can have multiple editions of firefox in your app launcher.
2024-01-06 08:59:02 +08:00
Emilia Bopp
5f6b7a35d6 neo4j: 4.4.11 -> 5.9.0 2024-01-05 18:20:24 +01:00
nicoo
b917ee427a nixos/doc: Add release note for pam.sshAgentAuth 2024-01-04 17:30:09 +00:00
Vladimír Čunát
8a839514de
Merge branch 'master' into staging-next 2024-01-04 15:07:44 +01:00
May
5be349d0be
nixos/nextcloud: remove dbport
To specify a port for the database host, `host:port` format has to be used [1].

[1]: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#dbhost
2024-01-04 12:34:24 +01:00
Tomo
436f194a76 craftos-pc: 2.7.5 -> 2.8
Changelog: https://github.com/MCJack123/craftos2/releases/tag/v2.8

This release contains several breaking changes, and should **not** be backported.
2024-01-03 16:11:48 -08:00
Sandro Jäckel
7c1b4b22f9
nixos/paperless: convert extraConfig to freeform type
Co-authored-by: Atemu <atemu.main@gmail.com>
2024-01-04 00:04:38 +01:00
Weijia Wang
eb5334c27d Merge branch 'master' into staging-next 2024-01-03 03:22:40 +01:00
Nick Cao
1c7eb2fd8f
Merge pull request #277819 from majewsky/portunus-2.1.1
portunus: 2.0.0 -> 2.1.1
2024-01-02 20:59:21 -05:00
Weijia Wang
eb928bae95 lilypond, denemo: migrate to guile 3 2024-01-03 01:40:50 +01:00
Clément DOUIN
2b39679ee1
himalaya: 0.8.4 -> 1.0.0-beta 2024-01-01 21:53:16 +01:00
github-actions[bot]
e61ae81f8f
Merge master into staging-next 2024-01-01 00:02:16 +00:00
Izorkin
2fb0b52c50
nixos/nginx: disable automatic advertise of HTTP/3 protocol support
Automatic advertise in the `http` block about support of HTTP/3
protocol makes it difficult to automatically configure services
to work with it.
HTTP/3 availability must be manually advertised, preferably in
each location block.
2024-01-01 02:29:01 +03:00
Janik
6be9d4fc21
Merge pull request #266283 from Noodlesalat/ping-exporter-1.1.0
ping_exporter: init at 1.1.0
2023-12-31 20:50:30 +01:00
github-actions[bot]
65cbf5e637
Merge master into staging-next 2023-12-31 18:01:09 +00:00
Jan Tojnar
80020c7db4 Merge branch 'master' into staging-next
; Conflicts:
;	pkgs/development/lua-modules/generated-packages.nix
;	pkgs/development/lua-modules/overrides.nix
2023-12-31 02:31:32 +01:00
Stefan Majewsky
3c05138a5c portunus: 2.0.0 -> 2.1.1
Changelog: <https://github.com/majewsky/portunus/releases/tag/v2.1.0>

v2.1.1 only fixes a regression that v2.1.0 introduced.
2023-12-31 01:52:01 +01:00
nicoo
607679c6d3 nixos/pam: Assert that authorizedKeysFiles is non-empty when using pam_ssh_agent_auth 2023-12-30 22:19:38 +00:00
Maxime Brunet
92c3800caf
mockgen: change upstream to uber-go fork 2023-12-30 12:27:42 -08:00
Will Fancher
9cab49c71b
Merge pull request #273921 from SaltyKitkat/oomd
nixos/systemd: update oomd configuration
2023-12-29 18:47:49 -05:00
Maximilian Bosch
d25fdec5b3
Merge pull request #212430 from onny/nextcloud-cleanup
nixos/nextcloud: Move options into now freeForm extraOptions
2023-12-29 23:44:24 +01:00
Jonas Heinrich
b06d3c3aa6
Merge pull request #277442 from onny/ollama
nixos/ollama: init
2023-12-29 23:00:10 +01:00
Nick Cao
08a62091a1
Merge pull request #277146 from majewsky/portunus-2.0.0
portunus: 1.1.0 -> 2.0.0
2023-12-29 14:53:12 -05:00
Maximilian Bosch
02ebf149d5
nixos/release-notes: more details about Nextcloud options rename
* Explain why it was renamed (to match the format from `config.php`).
* Show old and new name and link to the option in the options reference.
2023-12-29 20:35:42 +01:00
Jonas Heinrich
67a799c40f nixos/ollama: init 2023-12-29 15:19:55 +01:00
Jonas Heinrich
dd8c96379f nixos/nextcloud: Move options into now freeForm extraOptions 2023-12-29 01:04:46 +01:00
github-actions[bot]
97d15f47f2
Merge master into staging-next 2023-12-28 12:00:58 +00:00
Pierre Bourdon
b2f146867f
Merge pull request #276418 from katexochen/k9s/0-30-0
k9s: 0.29.1 -> 0.30.4
2023-12-28 10:42:04 +01:00
Stefan Majewsky
9ecbdfb5bd portunus: 1.1.0 -> 2.0.0
Changelog: <https://github.com/majewsky/portunus/releases/tag/v2.0.0>
2023-12-27 18:30:32 +01:00
github-actions[bot]
04686e4ee3
Merge master into staging-next 2023-12-27 12:00:55 +00:00
Yt
bd5ff67266
Merge pull request #261789 from onny/rspamd-trainer
nixos/rspamd-trainer: init; rspamd-trainer: init at unstable-2023-11-27
2023-12-27 11:28:42 +00:00
Jonas Heinrich
80d88736da nixos/rspamd-trainer: init; rspamd-trainer: init at unstable-2023-11-27 2023-12-27 10:35:53 +01:00
github-actions[bot]
24a900e557
Merge master into staging-next 2023-12-26 00:02:12 +00:00
Lin Jian
a5ac2d8dc2
kanata: mention breaking changes of v1.5.0 2023-12-26 04:38:25 +08:00
Nudelsalat
5d85f0eee8 nixos/prometheus-ping-exporter: init 2023-12-24 18:11:25 +01:00
Paul Meyer
5fc84cf30a k9s: 0.29.1 -> 0.30.0 2023-12-24 09:17:56 +01:00
Martin Weinelt
a3e53d17b6 Merge remote-tracking branch 'origin/master' into staging-next 2023-12-24 02:39:15 +01:00
Mario Rodas
2ba8c30b4e
Merge pull request #252790 from anthonyroussel/gns3-nixos-module
nixos/gns3-server: init
2023-12-23 09:27:39 -05:00
github-actions[bot]
2125288b92
Merge master into staging-next 2023-12-23 12:00:53 +00:00
Mathew Polzin
e09aaf7b55 idris2: 0.6.0 -> 0.7.0 2023-12-22 10:02:10 -06:00
Martin Weinelt
fb9f2b0e17 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/django-anymail/default.nix
- pkgs/development/python-modules/dockerspawner/default.nix
2023-12-21 15:21:14 +01:00
Marco Rebhan
fed77d1705
nixos/krb5: move to security.krb5 2023-12-21 11:35:26 +01:00
Marco Rebhan
92a541c0ed
nixos/krb5: cleanup, fix and RFC42-ify
This replaces the krb5 module's options with RFC 42-style krb5.settings
option, while greatly simplifying the code and fixing a few bugs,
namely:

- #243068 krb5: Configuration silently gets ignored when set by
  multiple modules
- not being able to use mkIf etc. inside subattributes of
  krb5.libdefaults, e.g. krb5.libdefaults.default_realm = mkIf ...

See #144575.
Closes #243068.

Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-12-21 11:34:59 +01:00
Raghav Sood
7d97d9ebd1
Merge pull request #275439 from RaghavSood/nitter/guest-accounts
nitter: unstable-2023-10-31 -> unstable-2023-12-03 (guest accounts support)
2023-12-21 14:03:35 +08:00
github-actions[bot]
176c80219d
Merge master into staging-next 2023-12-20 12:00:53 +00:00
Florian Klink
c28f238f5a
Merge pull request #272946 from benaryorg/resolved_no_fallback
nixos/resolved: Allow upstream fallback override
2023-12-20 12:55:44 +02:00
Raghav Sood
23a56af4b4
nitter: document requirement for guest accounts 2023-12-20 00:01:21 +08:00
github-actions[bot]
9f26e7ee02
Merge staging-next into staging 2023-12-18 18:01:22 +00:00
Nick Cao
fc5c9afd4d
Merge pull request #225513 from codedownio/julia-modules
Build arbitrary Julia package environments in Nixpkgs
2023-12-18 09:58:27 -05:00
github-actions[bot]
1fc6296f9b
Merge staging-next into staging 2023-12-18 12:01:30 +00:00
Ryan Lahfa
ed66c68205
Merge pull request #275028 from pacien/zfs-zed-sendmail 2023-12-18 10:32:58 +01:00
github-actions[bot]
6ffc5a8603
Merge staging-next into staging 2023-12-18 00:03:01 +00:00
Sophie Tauchert
24e561fabc
nixos/invidious: change default database user to invidious
This makes sure we don't need any workarounds for running Invidious with a local
PostgreSQL database.
Changing the default user should be fine as the new init script for PostgreSQL automatically
creates the new user and changes the existing database's owner to the new user. The old user
will still linger and must be removed manually.
See also: https://github.com/NixOS/nixpkgs/pull/266270
2023-12-17 19:48:15 +01:00
Pascal Bach
6ae43091f0
Merge pull request #272735 from katexochen/k9s/0-29
k9s: 0.28.2 -> 0.29.1
2023-12-17 19:10:29 +01:00
github-actions[bot]
71c41d360a
Merge staging-next into staging 2023-12-17 18:01:38 +00:00
pacien
cf6d89525f nixos/zed: use global sendmail if configured
This simplifies the setup to receive emails from the ZFS Event Daemon
by relying on the sendmail wrapper defined by other modules such as
msmtp or Postfix.

This is more similar to how other modules like smartd deal with email
configuration.

The user is no longer required to define and rebuild their own ZFS
package to add email support.

GitHub: closes https://github.com/NixOS/nixpkgs/issues/132464
2023-12-17 18:16:08 +01:00
Pierre Bourdon
91a00709ae
Merge pull request #273219 from Lurkki14/tuxclocker-master
tuxclocker: init at 1.4.0
2023-12-17 17:30:18 +01:00
Jussi Kuokkanen
60cb6ee94f nixos/tuxclocker: init module 2023-12-17 18:16:45 +02:00
benaryorg
c3256929e9
nixos/resolved: changelog for fallbackDns changes
Signed-off-by: benaryorg <binary@benary.org>
2023-12-15 13:07:36 +00:00
github-actions[bot]
2b17e91c71
Merge staging-next into staging 2023-12-15 12:01:41 +00:00
Maximilian Bosch
28089f8874
Merge pull request #273858 from dotlambda/nextcloud28-init
nextcloud28: init at 28.0.0, nextcloud27: 27.1.4 -> 27.1.5, nextcloud26: 26.0.9 -> 26.0.10
2023-12-15 08:14:15 +01:00
Tom McLaughlin
c8f0d302c1 julia: add documentation to manual + release note 2023-12-14 23:00:35 -08:00
github-actions[bot]
b9dfb3f0ee
Merge staging-next into staging 2023-12-15 06:01:29 +00:00
Lin Jian
73b3a1450f
Merge pull request #274110 from networkException/sysctl-net.core.wmem_max
nixos/{sysctl,caddy}: improvements for net.core.wmem_max
2023-12-14 23:14:17 -06:00
networkException
439350753e
nixos/sysctl: use highest value on conflict for net.core.wmem_max
we previously defined a custom type for `boot.kernel.sysctl."net.core.rmem_max"`
to resolve to the highest value set. this patch adds the same behavior to
`"net.core.wmem_max"`.

as this changes the type from a string to an integer, which is a breaking
change this patch also includes a release note and updates the transmission
module to use a number for `wmem_max`.
2023-12-15 04:43:57 +01:00
github-actions[bot]
f97ebb8477
Merge staging-next into staging 2023-12-15 00:02:53 +00:00
Maximilian Bosch
d832b1197b
nixos/doc: include section for 24.05
People are actively writing release notes already and with this it's
ensured that the contents are actually valid.

Also, when writing release notes for something, I'd like to be able to
see a preview.
2023-12-14 19:20:33 +01:00
github-actions[bot]
7be452e197
Merge staging-next into staging 2023-12-14 18:01:30 +00:00
Maximilian Bosch
bec9edfd20
nixos/doc: mention nc28 2023-12-14 17:44:41 +01:00
Linus Heckemann
ed25c9936e
Merge pull request #267693 from nbraud/nixos/wpa_supplicant/umask
nixos/wpa_supplicant: Ensure the generated config isn't world-readable
2023-12-14 15:09:22 +01:00
Linus Heckemann
f66d2b11d7
Merge pull request #270084 from Atemu/nixos/snapraid-top-level
nixos/snapraid: remove from top-level
2023-12-14 14:51:04 +01:00
SaltyKitkat
5e57448d4f systemd/oomd: add release note for the backward incompatibility 2023-12-14 16:38:29 +08:00
github-actions[bot]
bae9ba4ab0
Merge staging-next into staging 2023-12-14 00:02:44 +00:00
Robert Hensing
bef10a5ace
Merge pull request #269551 from tejing1/nixos-stub-ld
nixos/stub-ld: init module
2023-12-13 22:36:30 +01:00
github-actions[bot]
688991ba84
Merge staging-next into staging 2023-12-13 12:01:48 +00:00
Valentin Gagarin
6d3f2550fd
Merge pull request #273384 from nbraud/doc/system-state
nixos/doc: Add chapter “necessary system state”
2023-12-13 08:54:09 +01:00
nicoo
6012fe8f2d nixos/doc/manual: Rework nixos-state.section.md 2023-12-12 23:06:10 +00:00
nicoo
22cb8a1712 nixos/doc/manual: Add /var/lib/nixos under “Necessary system state” 2023-12-12 23:04:32 +00:00
nicoo
735481ef6b nixos/doc: Add chapter “necessary system state”
Suggested in the discussion of #268995.
2023-12-12 23:04:32 +00:00
github-actions[bot]
1065f5a68a
Merge staging-next into staging 2023-12-12 18:01:44 +00:00
Lin Yinfeng
fa2d2bbe6d
nixos/iproute2: add release note for the backward compatibility caused by stateless configuration 2023-12-12 23:31:51 +08:00
Ryan Lahfa
3bb93fb2cd
Merge pull request #271506 from Misterio77/nginx-redirect-status-code 2023-12-12 14:05:33 +01:00
Gabriel Fontes
a3c60d2ddc
nixos/nginx: make redirect status code configurable
Add an option to configure which code globalRedirect and forceSSL use.
It previously was always 301 with no easy way to override.
2023-12-11 11:09:02 -03:00
Jeff Huffman
0863f6d2da
nixos/stub-ld: init module 2023-12-11 05:47:23 -05:00
Ryan Lahfa
9faaff804f
Merge pull request #189277 from minijackson/systemd-journal-upload 2023-12-10 19:27:17 +01:00
github-actions[bot]
1e8386407c
Merge master into staging-next 2023-12-10 18:01:10 +00:00
Jonas Heinrich
b3eddb0c53
Merge pull request #272646 from onny/btrbk-stream-compress
nixos/btrbk: Add required stream_compress packages
2023-12-10 18:38:38 +01:00
Florian Klink
672d103402
Merge pull request #258424 from SuperSandro2000/nss-mdns-timeout
nixos/avahi-daemon: resolve mdns over only over ipv4
2023-12-10 15:34:14 +02:00
github-actions[bot]
39d4e1cb18
Merge master into staging-next 2023-12-10 06:00:56 +00:00
Robert Hensing
0e062cb692 nixos-rebuild: Add nixos-rebuild repl
Apologies to the non-flake users; your repl isn't quite as fancy,
but at least evaluates your config exactly as you would expect,
unlike flakes which are only evaluated impurely for now.
2023-12-10 06:36:02 +01:00
Robert Hensing
584463c744
Merge pull request #272764 from tweag/anyBool
lib.types.anyBool: init
2023-12-10 06:03:50 +01:00
nicoo
a351c9b530 nixos/wpa_supplicant: Ensure the generated config isn't world-readable
Otherwise, `environmentFile` cannot be used to pass secrets in.
2023-12-09 21:33:55 +00:00
Jonas Heinrich
1440b865c0 nixos/btrbk: Add required stream_compress packages 2023-12-09 13:03:46 +01:00
Minijackson
b484343cbc release-notes: mention new journald remote-related new services 2023-12-09 01:54:44 +01:00
Weijia Wang
ad7edda3e2 Merge branch 'master' into staging-next 2023-12-08 22:09:49 +01:00
Robert Hensing
47aff944e4
Merge pull request #257503 from SuperSandro2000/postgres-extraPlugins
nixos/postgresql: take extraPlugins packageset from package option
2023-12-08 21:51:05 +01:00
Robert Hensing
5322e1313e
Update nixos/doc/manual/release-notes/rl-2405.section.md 2023-12-08 21:50:57 +01:00
Silvan Mosberger
8d3978c149 lib.types.boolByOr: init
This type is necessary to have correct merging behavior for
`allowUnfreePredicate` and `allowInsecurePredicate`

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-12-08 21:50:29 +01:00
Sandro Jäckel
824e3c17a6
nixos/doc: add changelog entry for postgres extraPlugins type change 2023-12-08 14:58:19 +01:00
Paul Meyer
ef54509303 k9s: 0.28.2 -> 0.29.0 2023-12-07 19:27:45 +01:00
Atemu
f39eb36250 nixos/snapraid: remove from top-level
I don't use this tool but saw it in the top level and that's not where it should
live.

This could arguably also be seen as a RAID; it's a bit of an in-between.
2023-12-06 19:02:38 +01:00
github-actions[bot]
2622221e95
Merge master into staging-next 2023-12-06 00:02:22 +00:00
maxine
f73dbfa5f8
Merge pull request #213006 from Majiir/nut
nixos/ups: add options for essential config files
2023-12-05 23:14:37 +01:00
Sandro Jäckel
bba808dbfa
nixos/avahi-daemon: resolve mdns only over enabled protocols, disable ipv6 by default
see https://github.com/lathiat/nss-mdns#:~:text=in%20such%20a%20situation%20causes%20long%20timeouts%20when%20resolving%20hosts
especially:
> libnss_mdns.so.2 resolves both IPv6 and IPv4 addresses, libnss_mdns4.so.2 only IPv4 addresses and
> libnss_mdns6.so.2 only IPv6 addresses. Due to the fact that most mDNS responders only register local IPv4
> addresses via mDNS, most people will want to use libnss_mdns4.so.2 exclusively. Using libnss_mdns.so.2
> or libnss_mdns6.so.2 in such a situation causes long timeouts when resolving hosts since most modern
> Unix/Linux applications check for IPv6 addresses first, followed by a lookup for IPv4.
2023-12-05 21:51:12 +01:00
github-actions[bot]
9497a77fed
Merge master into staging-next 2023-12-05 18:00:57 +00:00
Alejandro Sánchez Medina
f10cab3241
Merge pull request #271343 from tweag/release-notes-stable
Use stable Nixpkgs URLs in release notes
2023-12-05 10:28:53 -05:00
Madoura
b86edef087
rl-2405: Note that 'linux_testing_bcachefs' is now fully deprecated and removed 2023-12-05 01:05:43 -06:00
Fabián Heredia Montiel
5b8deaceca Merge remote-tracking branch 'origin/master' into staging-next
Fixed conflict in pkgs/applications/graphics/krita/

krita: 5.1.5 -> 5.2.0
7a40fdc288
, and
treewide: use kde mirror everywhere, don't use pname in download urls
aa15f5066d
2023-12-04 17:44:17 -06:00
Kerstin
ba513b2979
Merge pull request #270522 from schmittlauch/mastodon-streaming-processes-number-docs
Proposal: nixos/mastodon; Releasenotes and (possibly) better error messages for `streamingProcesses`
2023-12-04 16:04:27 +01:00
Trolli Schmittlauch
cbf69c83d3 nixos/mastodon: clarify the need to set streamingProcesses
Explicitly declaring that option is now necessary, but wasn't in the module shipped with 23.05.
2023-12-04 02:18:39 +01:00
Kevin Puetz
91b8e472a5 qt6.qtmultimedia: Compile ffmpeg multimedia plugin
This is now the default recommendation upstream for linux platforms

> https://doc.qt.io/qt-6.6/qtmultimedia-index.html#ffmpeg-as-the-default-backend
> In this release the FFmpeg framework is set as the default backend on
> Windows, macOS, Android, and Linux except Yocto distribution.

> The version shipped with Qt binary packages is FFmpeg 6.0
> and is tested by the maintainers.

libXrandr is required to compile support QT_WINDOW_CAPTURE_BACKEND=x11
2023-12-03 16:58:28 -06:00
Jonathan Ringer
05f1bc9654
nixos/manual: add entry for addDriverRunpath 2023-12-03 07:23:45 -08:00
Weijia Wang
f5f2b471f3
Merge pull request #271437 from martinetd/ankisyncd-deprecation
ankisyncd: mark module as deprecated
2023-12-03 14:35:57 +01:00
Weijia Wang
4e81387d5b
Merge pull request #264331 from foo-dogsquared/add-nixos-guix-module
nixos/guix: init
2023-12-03 13:03:43 +01:00
Janik
5380b3c73a
Merge pull request #259773 from dadada/dadada/luks-fido2-systemd 2023-12-03 07:19:00 +01:00
github-actions[bot]
e1f166b89a
Merge master into staging-next 2023-12-03 06:01:01 +00:00
Bobby Rong
43744f5bc4
Merge pull request #268515 from NixOS/cinnamon
Cinnamon 6.0
2023-12-03 12:20:39 +08:00
Majiir Paktu
c1793ff623 nixos/ups: add {users,upsmon,upsd} config options 2023-12-02 22:44:07 -05:00
github-actions[bot]
5f8f8a1514
Merge master into staging-next 2023-12-02 18:00:52 +00:00
Peder Bergebakken Sundt
1079eccc63
Merge pull request #262133 from h7x4/cleanup-screen-module
nixos/screen: clean up module
2023-12-02 15:56:45 +01:00
github-actions[bot]
df742c9c0e
Merge master into staging-next 2023-12-02 12:01:25 +00:00
Camille Mondon
27493b4d49 nixos/clevis: init
Co-Authored-By: Julien Malka <julien@malka.sh>
2023-12-02 11:55:47 +00:00
Bobby Rong
74065b1858
nixos/rl-2405: Mention Cinnamon 6.0 update 2023-12-02 14:06:13 +08:00
techknowlogick
c70d0c8ce3 gitea: 1.20.5 -> 1.21.1 2023-12-01 15:17:32 -08:00
Dominique Martinet
8a2c07ba40 ankisyncd: mark module as deprecated 2023-12-01 21:21:35 +09:00
github-actions[bot]
9cca0e4288
Merge master into staging-next 2023-12-01 12:01:16 +00:00
Anthony Roussel
0db5959bd7
nixos/gns3-server: init 2023-12-01 12:11:18 +01:00
Gabriel Arazas
ad277ea47e nixos/guix: init 2023-12-01 09:10:37 +01:00
Weijia Wang
07183914f1
Merge pull request #257692 from telotortium/anki-sync-server
nixos/anki-sync-server: init
2023-12-01 08:30:36 +01:00
Vladimír Čunát
6864df8a82
libass: put the release note into 24.05
Commit 406de7fdc3 put this into 23.11 but that commit
has not made it to 23.11 release notes and conflict resolution
in 305cd929fd dropped that.
2023-12-01 08:00:01 +01:00
lgoette
d14a788127 nixos/pulseaudio: set permission of pulse home directory
Closes #114399
2023-12-01 15:47:22 +11:00
Emily Trau
f3814afdc6
Merge pull request #269353 from kylehendricks/snapraid-fix-split-parity2
snapraid: fix split parity files
2023-12-01 13:40:32 +11:00
Silvan Mosberger
f8550330a0 rl-2311: Use stable references
It's terrible how this is necessary, but it's better than using unstable
URLs for now..
2023-12-01 03:16:28 +01:00
Silvan Mosberger
9186a4d61a rl-2311: Minor ToC change
Was missed in https://github.com/NixOS/nixpkgs/pull/270984
2023-12-01 03:16:03 +01:00
h7x4
f12eabdcbe
nixos/screen: clean up 2023-12-01 01:35:29 +01:00
Niklas Sombert
d3ccd1aa2f nixos/sysctl: Move changelog entry for yama
#256159 removed the default settings disabling it,
but it was not merged in time for 23.11.
2023-11-30 18:29:55 +01:00
Robert Irelan
8fe9c18ed3 nixos/anki-sync-server: init
Provide a NixOS module for the [built-in Anki Sync
Server](https://docs.ankiweb.net/sync-server.html) included in recent
versions of Anki. This supersedes the `ankisyncd` module, but we should
keep that for now because `ankisyncd` supports older versions of Anki
clients than this module.
2023-11-30 17:25:17 +01:00
Kyle Hendricks
463424129d snapraid: fix split parity files
SnapRAID has a feature where you can specify "split" parity files. This
is useful when you're using 16tb or bigger ext4-formatted disks for
parity. ext4 doesn't support files bigger than 16tb so this "split
parity file" can be used to specify two parity files on a single parity
disk and SnapRAID will automatically use the subsequent file when the current
cannot grow anymore (hits 16TB). You specify these split parity files by
separating them with commas in the "parity" config option. This
mostly already works except when it comes to the scheduled systemd sync
job where it specifies ReadWritePaths. If you specify a parity with
multiple files you'll get an error when the systemd job runs: Failed to
set up mount namespacing:
/run/systemd/unit-root/mnt/parity1/snapraid1.parity,/mnt/parity1/snapraid2.parity: No such file or directory
Essentially, when the parity file paths are passed into ReadWritePaths,
they're always treated as a single path.  This change makes sure to
split the paths if they contain a comma.

The big concern for this change is if it would break users who have
commas in their actual parity file paths.  This won't be an issue because SnapRAID
itself blindly splits on commas for parity files, so legitimate commas in a parity
file path wouldn't work in SnapRAID anyway. See here:
978d812153/cmdline/state.c (L692)

SnapRAID doc for split parity files: https://www.snapraid.it/manual#7.1
2023-11-29 20:10:29 -05:00
figsoda
7e562b74c3
Merge pull request #270980 from figsoda/release
Release NixOS 23.11
2023-11-29 13:25:05 -05:00
Silvan Mosberger
5057a89f57 rl-2311: Minor fixes
Rename the "Nixpkgs Library Changes" section to just "Nixpkgs Library",
matching the "NixOS" section.

Correct some formatting
2023-11-29 18:18:50 +01:00
figsoda
04220ed676
Release NixOS 23.11 2023-11-29 12:17:49 -05:00
Alejandro Sánchez Medina
b460856efa
23.11 release notes: editing updates (#270967)
Co-authored-by: Lennart Mühlenmeier <lennart@cope.cool>
2023-11-29 12:10:40 -05:00
Emily Trau
77cc213d14
Merge pull request #265349 from malt3/init/athens
athens: init at 0.12.1
2023-11-29 18:28:39 +11:00
Emily Trau
a45b9ccbbf
Merge pull request #267707 from katexochen/mkosi/19
mkosi: 18 -> 19
2023-11-29 17:56:26 +11:00
K900
9ad22d35b6
Revert "nixos/switch-to-configuration: remove explicit tmpfiles invocation" 2023-11-29 09:38:27 +03:00
Bernardo Meurer
ad1d3762bb
Merge pull request #269983 from nikstur/stc-tmpfiles
nixos/switch-to-configuration: remove explicit tmpfiles invocation
2023-11-28 18:26:44 -03:00
asymmetric
7da99477ca
Merge pull request #265368 from chayleaf/maubot
nixos/maubot: init
2023-11-28 16:58:46 +01:00
Silvan Mosberger
a93e94d76b
Merge pull request #270628 from tweag/fileset-blog-post 2023-11-28 16:51:53 +01:00
Emery Hemingway
acab2ad0e7 release-notes: mention Nim changes 2023-11-28 16:48:10 +02:00
chayleaf
00070cf866
nixos/maubot: init 2023-11-28 20:35:55 +07:00
Silvan Mosberger
ec54fee3b5 rl-2311: Link to blog post on the file set library 2023-11-28 12:59:56 +01:00
Connor Baker
da4a86c62c
Merge pull request #268746 from SomeoneSerge/fix/torch-choose-args
python311Packages.torch: choose magma at the expression level
2023-11-27 12:02:05 -05:00
Maciej Krüger
3250f15338
Merge pull request #263471 from nbraud/nixos/sudo-rs/cleanup 2023-11-26 19:57:31 +01:00
Thiago Kenji Okada
e6e0787c3f
Merge pull request #256159 from YtvwlD/yama
nixos/sysctl: Stop disabling yama by default
2023-11-26 10:32:32 +00:00
Lin Jian
5ba42a0de2
Merge pull request #260902 from LDprg/master
preload: init at 0.6.4
2023-11-25 23:29:40 -06:00
nikstur
fa41730b86 nixos/switch-to-configuration: remove explicit tmpfiles invocation 2023-11-25 21:39:10 +01:00
LDprg
a0f5d5e500 nixos/preload: init 2023-11-25 20:07:10 +01:00
nicoo
c1b5226cd4 nixos/release-notes: Document pitfall when switching to sudo-rs 2023-11-25 14:11:23 +00:00
nicoo
b05648b541 nixos/sudo-rs: Simplify activation 2023-11-25 14:11:23 +00:00
Minijackson
8ed9ed7459 meilisearch: 1.3.1 -> 1.5.0 2023-11-24 21:06:40 +00:00
Jonas Heinrich
8f3f6a2a77 nixos/invoiceplane: Add settings option 2023-11-24 10:25:46 +00:00
Robert Hensing
11832690a8
Merge pull request #268871 from tweag/release-notes-lib
rl-2311: Add release notes on lib
2023-11-23 22:31:36 +01:00
Silvan Mosberger
38664f70d1 rl-2311: Add release notes on lib
NixOS releases are also `lib` releases :)

The release notes were collected from looking at the `git diff` since
22.11.

Since the NixOS and Nixpkgs manuals are rendered separately, I'm linking
to the "unstable" link to make sure the links definitely work on the time of
release. The "stable" link might take some time to become available
2023-11-23 21:13:59 +01:00
Valentin Gagarin
570757826e
Merge pull request #263056 from DanielSidhion/kernel-docs
doc: consolidate info on manual linux kernel configs
2023-11-23 18:21:10 +01:00
DS
1d7ee9ff09 doc: consolidate info on manual linux kernel configs
The Nixpkgs documentation on the linux kernel builders focused on
using and extending kernels that were already packaged, but never
mentioned that it's possible to also build a kernel almost "from
scratch".
The NixOS documentation went a bit deeper on manual linux kernel
configs, but that information wasn't particularly NixOS-specific.

This commit consolidates the information related to building the
kernel on Nixpkgs's documentation, while keeping any additional
NixOS-specific information on NixOS's documentation.

An additional README.md was created for contributor-facing
documentation.
2023-11-23 08:50:16 -08:00
Robert Hensing
779e50580c
Merge pull request #224611 from srhb/kafka-settings-module
Kafka: Settings and KRaft support
2023-11-23 17:35:29 +01:00
nicoo
572413151a nixos/release-notes: Tidy-up location of sudo-rs link definition
Presumably introduced when reverting #253876
2023-11-23 12:31:17 +00:00
sinanmohd
9796cbb021 nixos/seatd: init 2023-11-23 13:50:14 +11:00
Silvan Mosberger
bf01ec00a0
Merge pull request #250949 from ShamrockLee/apptainer-localstatedir
apptainer, singularity: use self-contained LOCALSTATEDIR by default
2023-11-23 01:37:54 +01:00
Paul Meyer
796b4926bb mkosi: 18 -> 19 2023-11-22 20:00:37 +00:00
Emily Trau
0bcdafbd7e
Merge pull request #265276 from eliandoran/update/trilium
trilium-{desktop,server}: 0.60.4 -> 0.61.14
2023-11-23 01:25:59 +11:00
c4lliope
e6fc0a2e3a Enable wxWebView in wxGTK32.
Closes #267712

Needed as a dependency for a number of language-specific packages,
including https://hexdocs.pm/desktop in Elixir.
2023-11-22 10:28:20 +00:00
Sarah Brofeldt
72d85cd36c nixos/apache-kafka: release notes 2023-11-22 06:47:09 +01:00
Vladimír Čunát
35a3cb94c6
Merge #269032: GNOME: 44 -> 45 2023-11-21 20:49:59 +01:00
figsoda
87cc06983c
24.05 is Uakari 2023-11-21 14:34:30 -05:00
Someone Serge
395b7cc35b
python311Packages.torch: choose magma at the expression level
...instead of at the callPackage site.
Addresses https://github.com/NixOS/nixpkgs/issues/268736
2023-11-21 13:35:05 +00:00
Jan Tojnar
f962d04ed3 nixos/rl-2311: Mention default application changes in GNOME 45 2023-11-21 09:21:55 +01:00
Bobby Rong
a1bf4b1b60 nixos/rl-2311: Mention XDG Portal changes
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:49 +01:00
Bobby Rong
23e483408f nixos/rl-2311: Mention GNOME 45 2023-11-21 08:42:21 +01:00
Dmitry Kalinkin
a126a8545a
Merge pull request #268613 from xworld21/texlive-tldeps
texlive: fix dependency bug, add docs and release notes
2023-11-20 17:58:03 -05:00
Atemu
cfe0155154
Merge pull request #268324 from Janik-Haag/nixos-firewall-tool
nixos/firewall: install nixos-firewall-tool for iptables by default
2023-11-20 23:23:24 +01:00
Vincenzo Mantova
5d6f4ec5f0 rl-2311: mention new texlive.withPackages and simpler custom TeX packages 2023-11-20 10:03:22 +00:00
Janik H.
fa9cdc83ab
nixos/firewall: install nixos-firewall-tool for iptables by default 2023-11-18 17:08:30 +01:00
Madoura
05b651843e
rl-2311: Note bcachefs kernel deprecation changes 2023-11-18 09:58:59 -06:00
Ryan Lahfa
d3530f494c
Merge pull request #264358 from RaitoBezarius/drop-nodejs 2023-11-17 23:26:13 +01:00
Raito Bezarius
7d0e6984c6 rl-2311: explain how dependent packages were removed due to Node.js drop 2023-11-17 20:26:55 +01:00
Ryan Lahfa
ccfe07c316
Merge pull request #266270 from Ma27/postgresql-ownership-15 2023-11-17 18:02:17 +01:00
Raito Bezarius
82037ad0b8 rl-2311: inform about services.postgresql.ensurePermissions deprecation 2023-11-17 15:57:19 +01:00
Herwig Hochleitner
20832d5995
nixos/forgejo: changelog and migration instructions (#267248)
* nixos/forgejo: changelog and migration instructions

* nixos/forgejo/docs: clarify sentence

Co-authored-by: Trolli Schmittlauch <schmittlauch@users.noreply.github.com>

* nixos/forgejo/docs: document migration via gitea impersonation

* nixos/forgejo/docs: note about url change on migration

* nixos/forgejo/docs: note about migration (non-)requirement

* nixos/forgejo/docs: header ids

* nixos/forgejo/docs: clarify release notes entry

Co-authored-by: Emily <git@emilylange.de>

* nixos/forgejo/docs: improve manual entry

Co-authored-by: Emily <git@emilylange.de>

* nixos/forgejo/docs: move changelog line to the middle of the section

as noted <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

---------

Co-authored-by: Trolli Schmittlauch <schmittlauch@users.noreply.github.com>
Co-authored-by: Emily <git@emilylange.de>
2023-11-17 15:55:24 +01:00
Weijia Wang
478409d4c6 alsa-utils: fix eval 2023-11-17 00:46:24 +01:00
Vladimír Čunát
a7a8f8253d
Merge #263535: staging-next 2023-10-26 2023-11-16 22:06:22 +01:00
Elian Doran
0f35107810 trilium-{desktop,server}: 0.60.4 -> 0.61.14 2023-11-16 22:08:54 +02:00
Daniel Ziltener
beca814e27 Modify Pharo entry in rl-2311.section.md 2023-11-16 19:06:59 +00:00
Vladimír Čunát
0fe5300699
Merge branch 'master' into staging-next 2023-11-16 09:49:24 +01:00
Adrian Pistol
7a1d45811e nixos/chrony: Let Chrony control/track RTC drift 2023-11-15 15:09:22 -06:00
Vladimír Čunát
c46eae0f35
Merge branch 'master' into staging-next 2023-11-15 07:33:10 +01:00
Ryan Lahfa
d983d6c863
Merge pull request #251950 from erictapen/mastodon 2023-11-15 01:46:50 +01:00
Kerstin Humm
c82195d9e8
mastodon: 4.1.6 -> 4.2.1
- run streaming processes in separate systemd services
- remove redundancy in test
- fix update script
- release notes

See https://github.com/mastodon/mastodon/releases/tag/v4.2.1 for details
2023-11-14 21:13:46 +01:00
Yang, Bo
a9b36a5fb3 nixos/doc: release notes for waagent provisioning 2023-11-14 19:47:27 +01:00
Martin Weinelt
3c336a1647
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/libraries/gdcm/default.nix
2023-11-14 13:16:34 +01:00
Niklas Hambüchen
f9c7c12de6
Merge pull request #266702 from nh2/plausible-listen-address-no-distributed-erlang
plausible, nixos/plausible: Add `listenAddress` option
2023-11-14 10:52:21 +01:00
Niklas Hambüchen
fc3f56f2fe release notes: Mention removal of services.plausible.releaseCookiePath 2023-11-14 10:51:16 +01:00
Aaron Jheng
c3104c4cad buildGoModule: deprecate vendorSha256 attribute 2023-11-14 09:37:22 +01:00
github-actions[bot]
772c3bbbf5
Merge master into staging-next 2023-11-14 00:02:14 +00:00
Otavio Salvador
2318de7052 docker: move default from 20.10 to 24
Docker CE 20.10 seems to stop receiving security updates and bug fixes
after December 10, 2023[1].

1. https://github.com/moby/moby/discussions/45104

There is public commitment for longer maintenance and then it seems
risky to default to it during 23.11 life-cycle.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-11-13 20:58:12 -03:00
Felix Bühler
f2fc5b4195
Merge pull request #265696 from Stunkymonkey/nixos-exportarr
nixos/exportarr: init
2023-11-13 22:58:32 +01:00
github-actions[bot]
9776723357
Merge master into staging-next 2023-11-11 18:00:58 +00:00
K900
e792d7fec0
Merge pull request #264442 from anthonyroussel/update-url-redirects
treewide: fix redirected and broken URLs
2023-11-11 18:08:59 +03:00
Niklas Hambüchen
f9611764c6 manual: Fix QEMU_NET_OPTS VM-side address.
In my earlier commit

    manual: Don't suggest exposing VM port to local network.

I made a side change titled

    Use `127.0.0.1` also on the VM side, otherwise connections to
    services that, in the VM, bind to `127.0.0.1` only
    (doing the safe approach) do not work.

Unfortunately, that was wrong:

QEMU inside the VM always communicates via the virtualised
Ethernet interface, not via the VM's loopback interface.
So trying to connect to `127.0.0.1` on the VM's side cannot work.
2023-11-11 15:40:55 +01:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
github-actions[bot]
912311b7fd
Merge master into staging-next 2023-11-11 00:02:21 +00:00
tu-maurice
40c06a143f prayer: remove 2023-11-10 20:44:28 -03:00
Pyrox
8575645827 yarn-berry: 3.4.1 -> 4.0.1
The only breaking change here is that Yarn drops support for NodeJS versions <18.12

Besides that, no major changes that I think deserve a mention
2023-11-10 15:15:40 -08:00
Martin Weinelt
3536221702
Merge pull request #160346 from mweinelt/hass-custom-everything
home-assistant: custom components and lovelace modules
2023-11-11 00:08:25 +01:00
Niklas Hambüchen
dcceeb9868 manual: tests: Describe how to port-forward into test VMs 2023-11-10 22:29:12 +01:00
Niklas Hambüchen
5d73d954cd manual: Don't suggest exposing VM port to local network.
The setting

    QEMU_NET_OPTS="hostfwd=tcp::2222-:22"

caused the VM's port 2222 to be advertised on the host as
`0.0.0.0:2222`, thus anybody in the local network of the host
could SSH into the VM.
Instead, port-forward to localhost only.

Use `127.0.0.1` also on the VM side, otherwise connections to
services that, in the VM, bind to `127.0.0.1` only
(doing the safe approach) do not work.

See e.g. https://github.com/NixOS/nixpkgs/issues/100192
for more info why localhost listening is the best default.
2023-11-10 22:29:12 +01:00
Martin Weinelt
6d05ad6a6b
nixos/rl-2311: mention new home-assistant module features 2023-11-10 22:00:38 +01:00
Alyssa Ross
afabc4a15d
Merge remote-tracking branch 'origin/master' into HEAD
Conflicts:
	pkgs/development/libraries/SDL2/default.nix
2023-11-10 15:18:19 +01:00
Ryan Lahfa
b8218af2e6
Merge pull request #256226 from ElvishJerricco/systemd-stage-1-testing-backdoor 2023-11-10 14:08:07 +01:00
github-actions[bot]
3f616fad02
Merge master into staging-next 2023-11-10 00:02:22 +00:00