Commit Graph

41120 Commits

Author SHA1 Message Date
Jared Baur
32bf051ba4
nixos/switch-to-configuration: add new implementation
This adds an implementation of switch-to-configuration that allows for
closer interaction with the lifecycle of systemd units by using DBus
APIs directly instead of using systemctl. It is disabled by default, but
can be enabled by specifying `{ system.switch = { enable = false; enableNg = true; }; }`.
2024-05-10 16:33:06 -07:00
superherointj
602a9cec5b
Merge pull request #309904 from superherointj/k3s-format-rfc
k3s: enforce rfc 0166 format
2024-05-10 20:25:35 -03:00
Martin Weinelt
e21dccc5a1
Merge pull request #310645 from gepbird/fix-firefox-test
nixosTests.firefox-{beta,devedition,esr,esr-115}: unbreak
2024-05-11 00:07:56 +02:00
superherointj
6cfcd3c754 k3s: format with nixfmt-rfc-style 2024-05-10 18:55:54 -03:00
Gutyina Gergő
e1d179e36e
nixosTests.firefox-{beta,devedition,esr,esr-115}: unbreak 2024-05-10 19:28:41 +02:00
Emily
3a8dd0415a
Merge pull request #310209 from emilylange/chromium-disable-drm-auto-download
chromium: prevent automatic Widevine DRM download
2024-05-10 18:01:47 +02:00
emilylange
e4f185cfaf
nixos/rl-2405: mention chromium DRM change 2024-05-10 17:33:17 +02:00
Adam C. Stephens
6878d98e5c
Merge pull request #310341 from adamcstephens/incus/6.1.0
incus: 6.0.0 -> 6.1.0, enable non-LTS testing
2024-05-10 10:17:20 -04:00
K900
4733c9feec nixos/tests: set non-conflicting priority for logrotate disabling
CC https://github.com/NixOS/nixpkgs/pull/267880
2024-05-10 16:25:51 +03:00
Martin Weinelt
7da17ece76
Merge pull request #310366 from mweinelt/pretix-pretalx-homemode
pretix, pretalx: fixes, hardening
2024-05-10 14:50:24 +02:00
Jacek Generowicz
6f048ef50b
doc/release-notes: another batch of release note edits (#310538)
* Another batch of release not edits

* Elide mention of dub lockfiles

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

* Qualify qtmultimedia with qt6

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2024-05-10 14:29:04 +02:00
Franz Pletz
fb382c2628
Merge pull request #310452 from fpletz/nginx-acme-servername
nixos/nginx: fix reference to acme cert hostname
2024-05-10 14:04:24 +02:00
nu-nu-ko
1c0d10e4f4
nixos/navidrome: add nu-nu-ko to maintainers 2024-05-10 21:16:30 +12:00
nu-nu-ko
7519d230b5
nixos/navidrome: ensure data & cache dirs exist with valid permissions 2024-05-10 21:16:30 +12:00
nu-nu-ko
ffc0d8bf58
nixos/navidrome: remove apply from settings option 2024-05-10 21:16:30 +12:00
nu-nu-ko
da8cdc2782
nixos/navidrome: use lib.getExe 2024-05-10 21:16:30 +12:00
nu-nu-ko
4987663e27
nixos/navidrome: add user/group options 2024-05-10 21:16:29 +12:00
nu-nu-ko
bbba2bde44
nixos/navidrome: rfcfmt, rm mdDoc & with lib; 2024-05-10 21:16:29 +12:00
Franz Pletz
338a208e7d
Merge pull request #287505 from jpds/zfs-scrub-trim-randomizedDelaySec 2024-05-10 02:11:13 +02:00
Franz Pletz
7c520d4070
Merge pull request #287494 from jpds/zfs-autoscrub-monthly-default 2024-05-10 02:09:59 +02:00
Franz Pletz
04f0aed442
Merge pull request #267880 from Izorkin/update-nixos-tests-logrotate 2024-05-10 02:06:59 +02:00
Franz Pletz
b7d060d10d
nixos/nginx: fix reference to acme cert hostname
The change introduced in #308303 refers to the virtualHosts attrset
key which can be any string. The servername is the actual primary
hostname used for the certificate.

This fixes use cases like:

    services.nginx.virualHosts.foobar.serverName = "my.fqdn.org";
2024-05-10 01:36:34 +02:00
Martin Weinelt
622af635bb
pretalx: adopt and set up code ownership 2024-05-09 18:20:14 +02:00
Martin Weinelt
9afcf733f3
nixos/pretix: update hardening
- Transition from world-readable to group-readable UMask
- Remove world permissions from state directory
2024-05-09 18:20:14 +02:00
Martin Weinelt
e2ccc754ac
nixos/tests/pretalx: test cli wrapper and print systemd unit security 2024-05-09 18:20:13 +02:00
Martin Weinelt
82f2cc7489
nixos/pretalx: set up hardening 2024-05-09 18:20:13 +02:00
Martin Weinelt
b4b3165619
nixos/pretalx: fix state directory mode
The state directory contains static files that need to be accessible by
a webserver, but homeMode defaults to 0750 and switching the generation
will always force the homeMode, thereby breaking access to the assets.

Instead, fully rely on systemd to provide the StateDirectory with the
correct mode.
2024-05-09 18:20:13 +02:00
Martin Weinelt
a4193dba8f
nixos/pretix: fix state directory mode
The state directory contains static files that need to be accessible by
a webserver, but homeMode defaults to 0750 and switching the generation
will always force the homeMode, thereby breaking access to the assets.

Instead, fully rely on systemd to provide the StateDirectory with the
correct mode.
2024-05-09 17:00:02 +02:00
oddlama
58286e510c
nixos/oauth2-proxy: fix invalid comparison between list and attrset 2024-05-09 16:58:33 +02:00
Emery Hemingway
60c75135f8 nixos/nginx: add validateConfigFile option
Add an option to disable configuration file processing and
validation.
2024-05-09 16:48:26 +02:00
Adam Stephens
e58c57a868
nixos/tests/incus: enable testing both LTS and non-LTS 2024-05-09 10:03:07 -04:00
Adam C. Stephens
215dd64e07
Merge pull request #307039 from adamcstephens/nixos-unstable
nixos/incus: add support for soft daemon restarts
2024-05-09 09:59:37 -04:00
Nick Cao
fe4d8b1b73
Merge pull request #310298 from rouven0/portunus-dex
nixos/portunus: fix dangling service files for dex
2024-05-09 09:50:54 -04:00
Adam Stephens
7d5b333dcd
nixos/incus: add support for soft daemon restart
This is a feature supported out of the box by upstream and allows the
incusd service to be restarted without impacting running
instances. While this does give up a bit of reproducibility, qemu and
lxc for example, there are clear benefits in allowing the host to
apply updates without impacting instances.

Modeled after the zabbly implementation: 2a67c3e260/systemd/incus-startup.service

This will now be the default.
2024-05-09 09:01:12 -04:00
github-actions[bot]
f496548573
Merge master into staging-next 2024-05-09 12:01:21 +00:00
Guillaume Girol
00346bff2b nixos/borgbackup: add an option to ignore warnings
borgbackup exit code 1 means warning, not error. For example if a file
is modified during backup, borg create exits with code 1. It may be
desirable to count that as success.
2024-05-09 12:00:00 +00:00
Rouven Seifert
06667e028f
nixos/portunus: fix dangling service files for dex 2024-05-09 11:29:23 +02:00
Maximilian Bosch
4467d803aa
Merge pull request #310110 from lheckemann/linux-modules-xz
linux: always use xz for compressing modules
2024-05-09 07:10:16 +00:00
github-actions[bot]
3a16e8c6ba
Merge master into staging-next 2024-05-09 00:02:23 +00:00
Linus Heckemann
2f04c5f8a3 linux: always use xz for compressing modules
The change I merged too hastily in #302300 increases the size by
~30%. This could be improved upon, but in the meantime let's go back
to xz while keeping zstd-compressed firmware (only 4.4% larger) and
_support_ for zstd-compressed modules.
2024-05-09 00:16:52 +02:00
Guillaume Girol
2931e934d0
Merge pull request #277368 from niklaskorz/nixos-mautrix-signal
nixos/mautrix-signal: add module
2024-05-08 22:33:29 +02:00
github-actions[bot]
8d97a60dd1
Merge master into staging-next 2024-05-08 18:01:26 +00:00
Nanotwerp
9630d00c18 nixos/virt-manager: use dconf to autoconnect QEMU/KVM 2024-05-08 13:53:10 -04:00
Linus Heckemann
a10842c7f0
Merge pull request #302300 from Ma27/kernel-zstd
linux kernel: prefer zstd where possible
2024-05-08 15:17:45 +02:00
github-actions[bot]
05abe113a9
Merge master into staging-next 2024-05-08 12:01:20 +00:00
Florian Klink
ddf728e50b
Merge pull request #306926 from tie/networkd-global-ipv6-privacy-extensions
nixos/networkd: allow IPv6PrivacyExtensions in networkd.conf
2024-05-08 14:41:08 +03:00
Peder Bergebakken Sundt
9873938432
Merge pull request #302814 from paumr/auto-update/archi
archi: 5.2.0 -> 5.3.0
2024-05-08 13:07:09 +02:00
7c6f434c
55e9b296c1
Merge pull request #309696 from Uthar/lisp-removal-of-previous-variants
Lisp modules - removal of previous variants
2024-05-08 10:04:39 +00:00
Jonas Heinrich
4a451cb3ce
Merge pull request #308291 from Ma27/nc-update-db
nixos/nextcloud: add nextcloud-update-db.service, nextcloud-cron isn't oneshot
2024-05-08 11:29:45 +02:00
Pascal Wittmann
a751e2faa2
Merge pull request #302908 from kai-tub/nixos/restic/fix-checkCmd
nixos/restic: fix skipping of check command
2024-05-08 10:29:31 +02:00
Florian Klink
20f90ebed6
Merge pull request #309608 from jmbaur/systemd-lib-range-or-one-of
nixos/systemd-lib: fix assertRangeOrOneOf when value is not comparable
2024-05-08 10:15:11 +03:00
github-actions[bot]
798dfbbedb
Merge master into staging-next 2024-05-08 00:02:03 +00:00
Oliver Schmidt
52506a2744 percona: adapt upstream release model
In accordance to the upstream release cycle, we now provide 2 flavours
of the percona mysql ecosystem. The default is the LTS variant,
additionally there is now the floating `percona-server_innovation`
always pointing to the most recent regular release.

- mentioned in release notes
- adapted all depending tests and tools (xtrabackup)
2024-05-08 00:40:06 +02:00
Pascal Wittmann
b641bba3d7
Merge pull request #309052 from kira-bruneau/intel-gpu-tools
nixos/intel-gpu-tools: init basic security wrapper
2024-05-07 23:28:45 +02:00
Sandro
dc79d5b1b3
Merge pull request #308904 from SuperSandro2000/273761-follow-up
nixos/openrazer: properly rename mouseBatteryNotifier option
2024-05-07 22:18:31 +02:00
github-actions[bot]
9b1eee6539
Merge master into staging-next 2024-05-07 18:01:11 +00:00
Oliver Schmidt
0999991e93 percona-server_8_3: init at 8.3.0-1
This release belongs to the "innovation" release track of Percona,
making it likely to diverge over time from the LTS release. Hence I just
created a separate packaging expression for this.
2024-05-07 19:56:32 +02:00
nikstur
951e023010
Merge pull request #309838 from cyberus-technology/take-plausible-maintainership
plausible: take take-plausible-maintainership
2024-05-07 18:34:24 +02:00
superherointj
dd7c32ab3e
Merge pull request #309099 from rorosen/package-k3s-kilall
k3s: package k3s-killall script
2024-05-07 11:02:03 -03:00
Leona Maroni
31be9134a2
Merge pull request #309836 from cyberus-technology/fix-nixos-plausible-unit
nixos/plausible: fix unit start script
2024-05-07 15:46:50 +02:00
Alexander Sieg
8edee82bc2
plausible: take take-plausible-maintainership 2024-05-07 15:35:22 +02:00
Alexander Sieg
3be1b16698
nixos/plausible: fix unit start script
In 8bb777ee37 a condition was added to
only execute the createdb.sh script if database setup was configurated.
However a superfluace " was added at the end of the line which cased an
escaping error the resulted in #309520.

Fixes #309520
2024-05-07 15:27:08 +02:00
Stefan Hertrampf
d07866cddc nixos/test-driver: rm global logger
We remove the global rootlog in favor of instantiating the logger as
required in the __init__.py and pass it down as a parameter (of our
AbstractLogger type).
2024-05-07 15:17:17 +02:00
Stefan Hertrampf
303618c7e1 nixos/test-driver: enable XML log selectively
Previously, the XML logging was always present and only created an
output file if a special environment variable was present. We now only
create the XML logger if the environment variable is present, saving us
from logging to XML internally if it is not required.
2024-05-07 15:17:17 +02:00
Stefan Hertrampf
9e8d6bbe24 nixos/test-driver: add junit-xml logger
We add a new logger that allows generating a junit-xml compatible report
listing the subtests used in the nixos integration test. Junit-xml is a
widely used standard for test reports. The report can be used for quick
evaluation of which subtest failed.
2024-05-07 15:17:16 +02:00
Stefan Hertrampf
9d90df51a9 nixos/test-driver: Separate XML and Terminal log
We use the newly AbstractLogger class and separate the XML and Terminal
logging that is currently mixed into one class. We restore the old
behavior by introducing a CompositeLogger that takes care of logging
both to terminal and XML.
2024-05-07 15:17:16 +02:00
Stefan Hertrampf
b505db6f6d nixos/test-driver: add AbstractLogger interface 2024-05-07 15:17:15 +02:00
Karel Kočí
282f8b7be3
nixos/bcg: fix usage without environment files
The preStart script should be used only if it is really needed.
2024-05-07 14:58:19 +02:00
github-actions[bot]
30144b9efd
Merge master into staging-next 2024-05-07 12:01:16 +00:00
Basti
5132ef795e
Merge pull request #309572 from SuperSandro2000/307498-followup
nixos/containers: set storage.settings via mkDefault
2024-05-07 09:59:38 +00:00
Robert Rose
2b0b15ec94 k3s: package k3s-killall script
Provide the k3s-killall.sh script for orderly shutdown of k3s.
2024-05-07 11:53:15 +02:00
Pol Dellaiera
9f3f549360
Merge pull request #309550 from linj-fork/pr/kanata-check-config-at-build-time
nixos/kanata: check the config file at build time
2024-05-07 09:59:18 +02:00
Pol Dellaiera
52b35c5833
Merge pull request #309534 from getchoo/nixos/fish/package-option
nixos/fish: add `package` option
2024-05-07 08:56:13 +02:00
github-actions[bot]
58ecfa2997
Merge master into staging-next 2024-05-07 06:01:04 +00:00
seth
f959fd3fff
nixos/fish: disable logrotate service in module test
headstart on https://github.com/NixOS/nixpkgs/pull/267880
2024-05-07 00:37:47 -04:00
seth
3056f09554
nixos/fish: add package option 2024-05-07 00:34:38 -04:00
Lin Jian
50f535b067
Merge pull request #309609 from linj-fork/pr/kanata-module-doc
nixos/kanata: improve doc
2024-05-07 11:05:26 +08:00
Kasper Gałkowski
fc5b715e1a nixos/clfswm: use sbclPackages - lispPackages was removed 2024-05-07 03:35:07 +02:00
Kasper Gałkowski
945dbca107 lisp-modules: mention common-lisp.sh API removal in release notes 2024-05-07 02:55:36 +02:00
github-actions[bot]
9b53839f00
Merge master into staging-next 2024-05-07 00:02:04 +00:00
paumr
8027f83d32 archi: removed OCR welcome check 2024-05-07 01:56:25 +02:00
Niklas Hambüchen
8907c1017d
Merge pull request #309424 from NixOS/ReadWriteDirectories-ReadWritePaths
nixos/{zoneminder,caddy,traefik}: ReadWriteDirectories -> ReadWritePaths
2024-05-07 01:13:06 +02:00
Niklas Hambüchen
9d7a729277 treewide: ReadWriteDirectories -> ReadWritePaths.
These were renamed in systemd v231:
2a624c36e6
2024-05-07 01:06:02 +02:00
Maximilian Kienitz
aa93972d0b nixos/vsftpd: fix invalid implication in assertions 2024-05-06 23:26:09 +02:00
Florian Klink
8950e22d8c nixos/garage: drop replication_mode setting
This got broken up into separate `replication_factor` and
`consistency_mode` settings with Garage 1.x, and due to the the "none"
default kicking in, Garage fails to startup with

> : Error: Either the legacy replication_mode or replication_level and consistency_mode can be set, not both.

if we actually make the migratiom as documented in the migration guide.

Drop this explicit setting, so users can set replication_mode or
replication_factor/consistency_mode, depending on the version they're
using.
2024-05-06 23:15:10 +03:00
Bernardo Meurer
40da51f2f0
Merge pull request #309611 from lovesegfault/fix-oauth2-proxy
nixos/oauth2-proxy: fix missing `lib.`
2024-05-06 15:15:45 -04:00
Artturin
5ce6ea92e3
Merge pull request #301827 from kampka/forbiddenDependenciesRegex
nixos/top-level: Turn `system.forbiddenDependenciesRegex` into a list
2024-05-06 21:07:03 +03:00
Bernardo Meurer
7c87bee77b
nixos/oauth2-proxy: fix missing lib. 2024-05-06 14:05:17 -04:00
github-actions[bot]
4781c03d7f
Merge master into staging-next 2024-05-06 18:01:20 +00:00
Lin Jian
75a864edf1
nixos/kanata: replace deflayer with deflayermap in config example
IMHO, this style is more intuitive.
2024-05-07 01:52:08 +08:00
Lin Jian
4eafe1458d
nixos/kanata: improve links to the upstream documentation 2024-05-07 01:51:57 +08:00
Lin Jian
f7b50c3977
nixos/kanata: improve example of the package option
Before this patch, it is rendered as "Example: kanata-with-cmd".
With this patch applied, it is "Example: pkgs.kanata-with-cmd".
2024-05-07 01:51:51 +08:00
Jared Baur
38907ef84d
nixos/systemd-lib: fix assertRangeOrOneOf when value is not comparable
We cannot compare non-numerical values to a min or max value in a range.
2024-05-06 10:41:20 -07:00
Sandro Jäckel
d8137e77ec
nixos/containers: set storage.settings via mkDefault
to make them easily overwriteable, aka without mkForce
2024-05-06 16:34:00 +02:00
Adam C. Stephens
f9ae6eb427
Merge pull request #309363 from adamcstephens/patroni/3.3.0
patroni: 2.1.3 -> 3.3.0
2024-05-06 09:49:12 -04:00
Lin Jian
1d93534ec4
nixos/kanata: check the config file at build time
Before this patch, checking the config file is done at runtime.
Doing so at build time shortens the feedback loop[1][2].

[1]: https://github.com/NixOS/nixpkgs/issues/278135
[2]: https://github.com/jtroo/kanata/issues/689
2024-05-06 20:25:09 +08:00
Sandro
ed7d332850
Merge pull request #309304 from Ma27/nc-dav 2024-05-06 14:17:52 +02:00
github-actions[bot]
b05583e319
Merge master into staging-next 2024-05-06 12:01:18 +00:00
Izorkin
772ae48e69
nixos/tests: disable logrotate service by default in tests 2024-05-06 14:53:38 +03:00
Jared Baur
91d7945974
nixos/terminfo: always use buildPlatform's terminfo (#309108)
Many terminal packages don't cross compile, so the `terminfo`
 NixOS module was not usable for nixos configurations that are
 cross-compiled.

Terminfo files (AFAIK) are small files that contain data about
 terminal capability, so they should never have any runtime
 dependencies that would cause any executables or otherwise
 incompatible outputs from the `buildPlatform` to leak into the
 nixos config's closure.
2024-05-06 09:04:43 +00:00
Paul Meyer
6d41831819
Merge pull request #297122 from katexochen/mkosi/22
mkosi: 20.2 -> 22; use --replace-fail on substituteInPlace
2024-05-06 09:39:51 +02:00
github-actions[bot]
1999bc9baa
Merge master into staging-next 2024-05-06 06:01:13 +00:00
Niklas Hambüchen
7b6b627a66 nixos/caddy: Comment why ExecStart is reset 2024-05-06 03:18:29 +02:00
nicoo
db5f88c41a
nixos/ssh: Make ~/.ssh/authorized_keys optional in AuthorizedKeysFiles (#279894) 2024-05-06 01:11:03 +00:00
github-actions[bot]
ce0d85be7c
Merge master into staging-next 2024-05-06 00:02:18 +00:00
Sandro Jäckel
b2fd301603
nixos/openrazer: properly rename mouseBatteryNotifier option 2024-05-05 23:22:07 +02:00
Sandro
bdd2e6b121
Merge pull request #309324 from evenbrenden/move-jotta-cli
nixos/jotta-cli: move to services.jotta-cli
2024-05-05 23:17:24 +02:00
Adam Stephens
3d20a75e9a
patroni: 2.1.3 -> 3.3.0
https://github.com/zalando/patroni/blob/v3.3.0/docs/releases.rst#version-330
2024-05-05 16:37:18 -04:00
Georg Haas
e83b8cfd43
nixos/tayga: add mappings option 2024-05-05 21:10:51 +02:00
K900
8d9c2c8a1c
Merge pull request #309318 from oxalica/feat/plasma6-kwin-wayland-nice
nixos/plasma6: add CAP_SYS_NICE for kwin_wayland
2024-05-05 22:00:27 +03:00
Florian Klink
135fbd12c3
Merge pull request #309068 from SuperSandro2000/dbus-broker
nixos/dbus: fix switching from dbus-broker to dbus
2024-05-05 21:32:53 +03:00
André Silva
7142a2dec9
Merge pull request #306655 from devusb/sunshine-update
sunshine: 0.23.0 -> 0.23.1
2024-05-05 19:14:28 +01:00
github-actions[bot]
041bd1cdf7
Merge master into staging-next 2024-05-05 18:00:54 +00:00
Even Brenden
9fa89d0e2c nixos/jotta-cli: move to services.jotta-cli 2024-05-05 19:30:16 +02:00
Maximilian Bosch
a26cbf4cdf
nixos/rl-2405: document that in some cases no photos are shown in Nextcloud 2024-05-05 18:22:56 +02:00
Maximilian Bosch
c7a1616be7
nixos/nextcloud: add trailing slashes to carddav/caldav redirect
This seems to solve the problem with the warning about carddav/caldav
redirects being broken.
2024-05-05 18:17:25 +02:00
Weijia Wang
cafe2c3062
Merge pull request #309291 from qubitnano/pr/mongodb-avx-req
nixos/release-notes: add avx cpu requirement for mongodb_5.0 and newer
2024-05-05 18:13:50 +02:00
Weijia Wang
9fe9acbd7c
Merge pull request #309149 from linj-fork/pr/kanata-bump
kanata: 1.6.0 -> 1.6.1
2024-05-05 17:36:29 +02:00
qubitnano
a33fb7e970 nixos/release-notes: add avx cpu requirement for mongodb_5.0 and newer
https://www.mongodb.com/docs/v5.0/administration/production-notes/#platform-support-notes
2024-05-05 11:02:01 -04:00
Jan Tojnar
100509c030 Merge branch 'staging-next' into staging
Conflicts in luaPackages.luarocks-nix:

- 8b563cd9f9 switched to the new version format (prefixed by 0 since there was no relevant last tag in the branch).
  bc4f6fa543 bumped version and switched to the new version format. But the tag used is not part of the branch the commit comes from (master).

  Used the new version but replaced the tag prefix with 0.

- b73ec84b9e removed meta (it is already set in the overridden luarocks). But that would cause the update script to try to update the overridden luarocks (as did the previously used old.meta).
  bf311d950e modified meta to fix the update script properly.

  Kept the meta from the latter since it allows update script to work.
2024-05-05 14:50:32 +02:00
Marie Ramlow
212c34f8c0 nixos/miniflux: use systemd notify and watchdog
Miniflux supports notifying systemd when it's ready.
It also supports the systemd watchdog, which will restart miniflux when it's stuck.
2024-05-05 14:47:05 +02:00
Niklas Korz
346d23fdf2 nixos/mautrix-signal: add module 2024-05-05 13:57:50 +02:00
Will Fancher
da635f35de nixos/systemd-stage-1: Enable LVM installer test 2024-05-05 06:41:44 -04:00
Will Fancher
4871a4e0da nixos/systemd-stage-1: Fix fsck.xfs needing bash's sh symlink 2024-05-05 06:01:03 -04:00
Sandro Jäckel
06643a08b2 nixos/display-managers: fix assertion 2024-05-05 11:17:49 +02:00
Lin Jian
e6a6836458
kanata: 1.6.0 -> 1.6.1 2024-05-05 10:38:00 +08:00
JJ
0a8f72f2ed plasma6: reorganize & describe dependencies 2024-05-04 17:59:58 -07:00
JJ
22a7de6354 plasma6: mark dolphin + spectacle as optional packages 2024-05-04 17:59:45 -07:00
Jade Lovelace
f96f3c9e30 nixos/keycloak: pass --verbose to starting keycloak
This sets the exception handler to show the full exception on startup.
We don't think it does anything else, with respect to logging, for
instance. Everything else can be configured in the config file, and this
is plain reasonable to simply always enable in our view.
2024-05-04 17:43:38 -07:00
Kira Bruneau
63e307802c nixos/intel-gpu-tools: init basic security wrapper 2024-05-04 19:26:41 -04:00
Jörg Thalheim
68f45f55ee
Merge pull request #308946 from eclairevoyant/revert-hyprland-envvars
nixos/hyprland: revert setting environment variables globally
2024-05-05 00:45:50 +02:00
Kai Norman Clasen
c650982a43 nixos/restic: Add runCheck option
This commit fixes the requirement to provide a pruneOption to ensure
that the check command is run when a check option is set. This is useful
for check-only configurations. The option is implicitly set if checkOpts
are given by default.
2024-05-04 22:44:37 +02:00
Sandro Jäckel
21ab17debe
nixos/dbus: fix switching from dbus-broker to dbus 2024-05-04 21:56:17 +02:00
Aaron Andersen
efd518852d
Merge pull request #300090 from lytedev/300088
plausible: Do not run createdb.sh unless configured to setup the database
2024-05-04 18:41:49 +00:00
北雁 Cryolitia
04a7f3c371
nixos/xdg-terminal-exec: init module 2024-05-05 02:06:43 +08:00
Weijia Wang
9ed8582721
Merge pull request #308622 from jmbaur/jbaur/clatd-minor-cleanup
Minor cleanups for clatd module and release notes
2024-05-04 19:25:11 +02:00
Daniel Flanagan
8bb777ee37 plausible: Do not run createdb.sh unless configured to setup the database
Closes #300088
2024-05-04 10:28:21 -05:00
github-actions[bot]
1e0d7cdbeb
Merge staging-next into staging 2024-05-04 12:01:36 +00:00
éclairevoyant
b43ad60e1a
Merge pull request #308966 from Guanran928/wastebin
nixos/wastebin: fix typo
2024-05-04 06:28:36 +00:00
github-actions[bot]
29623ebbb8
Merge staging-next into staging 2024-05-04 06:01:54 +00:00
Guanran Wang
c46effbdf0
nixos/wastebin: fix typo 2024-05-04 13:00:34 +08:00
éclairevoyant
23bde0b9e3
Revert "nixos/hyprland: Set environment variables for Hyprland to work better"
This reverts commit d18a587b78.
2024-05-03 22:38:57 -04:00
Aaron Andersen
4da0f532ba
Merge pull request #305966 from RafaelKr/doc/fix-common-config-example
doc: remove discouraged enablePHP config from abstractions example
2024-05-04 00:05:37 +00:00
github-actions[bot]
63659f437f
Merge staging-next into staging 2024-05-04 00:02:40 +00:00
Pavol Rusnak
23f72abf0c
Merge pull request #308796 from 0xB10C/2024-05-promethues-bitcoin-exporter-expose-package
nixos/prometheus-bitcoin-exporter: expose package option
2024-05-03 23:09:17 +02:00
Leona Maroni
d9bdb87f7d
Merge pull request #307498 from SuperSandro2000/podman-storage-default
nixos/containers: move storage.settings default into config
2024-05-03 22:31:06 +02:00
Thomas Gerbet
8528f32728
varnish75: init at 7.5.0 (#308604)
Changes: https://varnish-cache.org/docs/7.5/whats-new/changes-7.5.html
2024-05-03 19:03:01 +00:00
Anthony Roussel
d4d29642b0
nagios: enable darwin support 2024-05-03 20:40:22 +02:00
éclairevoyant
512b6d9ad2
Merge pull request #308531 from sanxus/fix-extraConfig
nixos/networkmanager: fix incorrect documention about `extraConfig`
2024-05-03 18:08:44 +00:00
sanxus
6b7692c8f5
nixos/networkmanager: fix incorrect documention about extraConfig 2024-05-04 01:04:51 +08:00
Jonathan Davies
8e0e9bdee8 nixos/zfs: Added a randomizedDelaySec option to ZFS autoscrub/trim timers
Allows operators to space out these IO operations across a fleet of
machines, rather than have them all happen at the same time.
2024-05-03 15:01:53 +01:00
0xb10c
0c4215faf0
nixos/prometheus-bitcoin-exporter: expose package option 2024-05-03 15:23:36 +02:00
Jonathan Davies
5b671b7fc8 nixos/zfs: Default autoscrub interval to monthly 2024-05-03 13:41:51 +01:00
github-actions[bot]
0b5a256e94
Merge staging-next into staging 2024-05-03 12:01:59 +00:00
github-actions[bot]
ae736c738d
Merge master into staging-next 2024-05-03 12:01:32 +00:00
piegames
315db4f0f2 heisenbridge: Drop piegames from maintainers 2024-05-03 13:38:25 +02:00
piegames
3813ff1a48 conduit: Drop piegames from maintainers 2024-05-03 13:38:00 +02:00
Pol Dellaiera
c88c954f81
Merge pull request #308335 from bbigras/promtail
nixos/promtail: check-syntax in preStart
2024-05-03 13:28:09 +02:00
Yt
8328303ea8
Merge pull request #308500 from bobrippling/nixos-module-cleanup-ebusd
nixos/ebusd: clean up module
2024-05-03 11:13:37 +00:00
Aleksana
8815449d5b
Merge pull request #306417 from nu-nu-ko/update-wpaperd
wpaperd: 0.3.0 -> 1.0.1 & mv to by-name
2024-05-03 16:31:59 +08:00
Rob Pilling
aa10bacb81 nixos/ebusd: clean up module 2024-05-03 08:34:17 +01:00
oxalica
def8d7e254
nixos/plasma6: add CAP_SYS_NICE for kwin_wayland
This makes kwin_wayland successfully gain SCHED_RR priority, which
significantly improves the rendering lag, ie. cursor movement and
desktop animations, under heavy CPU load like on compilation.
This was already enabled for plasma5 but is not for plasma6 somehow.
2024-05-03 02:27:44 -04:00
nuko
e207abf796
Release Notes: breaking wpaperd config change in 1.0.+ 2024-05-03 12:36:35 +12:00
github-actions[bot]
0471a8be05
Merge staging-next into staging 2024-05-03 00:03:09 +00:00
github-actions[bot]
3588aea450
Merge master into staging-next 2024-05-03 00:02:39 +00:00
michaelBelsanti
2c9c781478
espanos: add package option 2024-05-02 19:08:13 -04:00
Jared Baur
34d7f5edd7
doc: fixup release notes entry for clatd 2024-05-02 14:41:44 -07:00
Jan Tojnar
2a2796c2bc nixos/xserver: Remove with statements
They masked the evaluation error caused by removal of
`defaultSessionFromLegacyOptions` variable
in 6be2bfcc32
2024-05-02 23:20:02 +02:00
Jan Tojnar
8bf5752a3c nixos/xserver: Remove {desktop,window}Manager.default options
These have been deprecated since NixOS 20.03.

Also fixes evaluation error caused by moving
the `defaultSessionFromLegacyOptions` variable
in 6be2bfcc32
2024-05-02 23:20:02 +02:00
Jan Tojnar
499f723873 doc: Use substitute --replace-fail in manuals
This fixes a warning about --replace being deprecated.
2024-05-02 23:19:15 +02:00
Jan Tojnar
5b2b3b8558 nixos/gnome: Remove global with expressions
The can potentially mask evaluation errors due to laziness of variable access within.
2024-05-02 23:17:40 +02:00
Jan Tojnar
f77c3bf760 nixos/gnome: Remove deprecated aliases 2024-05-02 23:17:40 +02:00
Jared Baur
09073330e0
nixos/clatd: remove invalid startLimitIntervalSec
The `startLimitIntervalSec` option is not valid under `serviceConfig`.
2024-05-02 14:16:12 -07:00
Christian Kampka
8814c364a3 nixos/top-level: Rename system.forbiddenDependenciesRegex to system.forbiddenDependenciesRegexes
and turn it in to a list.

The current setting of system.forbiddenDependenciesRegex is a string, meaning only one such regex as any additional setting would result in conflicts.

As maintainers have already started using this setting eg. in profiles, it would be good if this setting would accept a list of regex to allow the end
user to make use of it in addition to package maintainers.
2024-05-02 21:08:39 +03:00
github-actions[bot]
df0375a9b2
Merge staging-next into staging 2024-05-02 18:01:39 +00:00
github-actions[bot]
31135daf48
Merge master into staging-next 2024-05-02 18:01:05 +00:00
nicoo
1207b23cc2
Merge #305764: nixos/gitlab: Add a second database connection 2024-05-02 17:44:56 +00:00
Anomalocaridid
52ad64b548
nixos/grub: fix documentation for boot.loader.grub.theme (#305663)
Closes #233865. Currently, the documentation for `boot.loader.grub.theme` misleadingly implies that it needs a package for a grub theme instead of a path to a grub theme.
2024-05-02 17:43:24 +00:00
Robert Hensing
188ba247d5
nixos/podman: Create docker socket symlink via socket unit (#305803)
This ensures that both "sockets" are available after sockets.target.
See https://github.com/hercules-ci/arion/issues/238
2024-05-02 14:04:37 +00:00
nicoo
480b871f2d
Merge #305844: add clatd module and nixos test 2024-05-02 14:00:06 +00:00
6034d354d7
nixos/trust-dns: fix invalid default for settings.zones option (#308513)
and fix a few documentation typos while here.
2024-05-02 12:34:04 +00:00
github-actions[bot]
4e3bc63c95
Merge staging-next into staging 2024-05-02 12:02:05 +00:00
github-actions[bot]
c4dfa193ac
Merge master into staging-next 2024-05-02 12:01:36 +00:00
Ilan Joselevich
42267611ac
Merge pull request #308286 from adamcstephens/kanidm/1.2.0
kanidm: 1.1.0-rc.16 -> 1.2.0
2024-05-02 13:36:09 +03:00
Paul Meyer
5a07560443 mkosi: 21 -> 22 2024-05-02 11:57:20 +02:00
Sandro
4a2f53b67a
Merge pull request #280940 from e1mo/fix-parsedmarc-smtp-to 2024-05-02 11:16:27 +02:00
Janne Heß
9ee8e1eff0
Merge pull request #305386 from tbleiker/znapzend
znapzend: add --mailErrorSummaryTo
2024-05-02 10:46:03 +02:00
Sandro
2e9d7dca27
Merge pull request #302570 from evenbrenden/jottad-service 2024-05-02 10:25:30 +02:00
Sandro
bafcff9b15
Merge pull request #273233 from SuperSandro2000/oauth2-proxy
nixos/oauth2-proxy{,-nginx}: renamed from oauth2_proxy, also renamed the servi…
2024-05-02 09:48:01 +02:00
Vladimír Čunát
725f48a252
Merge branch 'master' into staging-next 2024-05-02 09:05:49 +02:00
K900
a1de57d6fc nixos/all-tests: skip hibernate test for now
QEMU 8.2.3 crashes when hibernating. Disable the test for now to allow
channels to advance again.
2024-05-02 09:55:02 +03:00
Bruno Bigras
7666eadc69 nixos/promtail: check-syntax in preStart
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2024-05-01 21:18:28 -04:00
Bobby Rong
13d91b7d04
Merge pull request #308277 from bobby285271/upd/homepage
treewide: Move away from wiki.gnome.org (part 2)
2024-05-02 07:47:16 +08:00
Matthieu Coudron
1efd78948f
Merge pull request #305799 from teto/teto/update-lua-packages
update lua package set + several small fixes
2024-05-02 01:19:01 +02:00
Yt
dcf85a267b
Merge pull request #298327 from bobrippling/feat/ebusd-log-none
nixos/ebusd: permit "none" as a log level
2024-05-01 21:53:40 +00:00
Michele Guerini Rocco
6a2c2e1a98
Merge pull request #308241 from rnhmjoj/pr-libreswan
libreswan: 4.15 -> 5.0
2024-05-01 23:20:19 +02:00
Pol Dellaiera
6ca53cb409
Merge pull request #308092 from Stunkymonkey/mailman-chmod-install
nixos/mailman: prefer 'install' over 'chmod/chown'
2024-05-01 23:04:29 +02:00
Birk
8b35a7cd18
nixos/logrotate: typo in option name fixed (#307788) 2024-05-01 22:45:45 +02:00
Thomas Gerbet
e83dd85ff2
Merge pull request #307464 from tomfitzhenry/ssh-minimal
openssh: fix linkOpenSSL=false by linking libxcrypt
2024-05-01 22:38:53 +02:00
Maximilian Bosch
5ef467d6f5
nixos/nextcloud: add nextcloud-update-db.service, nextcloud-cron isn't oneshot
This service performs operations that significantly increase the
performance of Nextcloud, can take a while. These are designed however
to not require maintenance mode and can be executed during normal
operation[1].

Make nextcloud-cron a simple unit instead of oneshot: otherwise we risk
that it'll be stopped by the startup timeout (oneshot executes ExecStart
while "activating") which can be an issue for very long running tasks or
if Nextcloud needs to catch up if one task was broken for a while.

[1] https://docs.nextcloud.com/server/29/admin_manual/maintenance/upgrade.html#long-running-migration-steps
2024-05-01 20:09:37 +02:00
Sandro
a534c335e0
Merge pull request #307553 from SuperSandro2000/gst-plugins-good-nox
nixos/no-x-libs: disable more GUIs for gst_all_1.gst-plugins-good
2024-05-01 20:08:13 +02:00
github-actions[bot]
67f8ba4a30
Merge master into staging-next 2024-05-01 18:01:22 +00:00
pennae
af4ba8165b
Merge pull request #308303 from Lynnaut/nginx-acme
nixos/nginx: don't add .well-known locations for acme when using DNS-01
2024-05-01 18:21:17 +02:00
pennae
cadb9fc5e4
Merge pull request #308300 from Lynnaut/vault
nixos/vault: change type and default of devRootTokenID
2024-05-01 18:21:01 +02:00
Jacek Generowicz
90a3fb8ffe
doc/release-notes: next batch of release note cleanups (#308279) 2024-05-01 17:38:57 +02:00
superherointj
3858b5a485
Merge pull request #308233 from Tom-Hubrecht/postgres-lib
nixos/postgresql: Remove toplevel `with lib;`
2024-05-01 12:27:30 -03:00
Noah S-C
b4df506a48
nixos/openrazer: add additional battery notifier options (#273761) 2024-05-01 14:52:22 +00:00
Lynn
a586e82ef6 nixos/nginx: don't add .well-known locations for acme when using DNS-01 challenge 2024-05-01 16:48:07 +02:00
Lynn
e654c8fd67 nixos/vault: change type and default of devRootTokenID
Previously you needed to set an devRootTokenID when dev=true despite the option being optional
Caused by wrong default value and not allowing null as value
2024-05-01 16:33:55 +02:00
Adam Stephens
87ce2c95ae
kanidm: 1.1.0-rc.16 -> 1.2.0
https://github.com/kanidm/kanidm/releases/tag/v1.2.0

Added updatescript, and removed Cargo.lock as no more git deps.

New release process documented here:

a67d1f5160/book/src/support.md

Re-ordered test and removed anonymous login as logout no longer works:
[info]: Ignoring request to logout session - these sessions are not recorded
2024-05-01 09:47:06 -04:00
Bobby Rong
736c6be462
treewide: Move away from wiki.gnome.org
The wiki.gnome.org site is planned for retirement.
2024-05-01 21:16:03 +08:00
Adam C. Stephens
51cc3442af
Merge pull request #307218 from adamcstephens/incus/more-deps
nixos/incus: add missing packages to path
2024-05-01 09:08:22 -04:00
github-actions[bot]
992b6af1a4
Merge master into staging-next 2024-05-01 12:01:23 +00:00
rnhmjoj
e26aa294d2
libreswan: 4.15 -> 5.0
Notes:

  - barf went into contrib/ and officially unsupported.
  - verify was removed entirely.
  - the makefile is a bit smarter now and doesn't require many
    of the previous workarounds.
2024-05-01 13:28:48 +02:00
Tom Hubrecht
0ccd40450f nixos/postgresql: Remove toplevel with lib; 2024-05-01 12:25:24 +02:00
Maximilian Bosch
7001f74335
Merge pull request #306595 from RaitoBezarius/nc29
nextcloud29: init at 29.0.0, nextcloud27: 27.1.8 -> 27.1.9, nextcloud28: 28.0.4 -> 28.0.5
2024-05-01 10:16:20 +00:00
Maximilian Bosch
fac5f2721d
Merge pull request #305951 from Ma27/nix-unstable-testing
nixVersions.unstable: build from master, re-init at 2.22.0.pre20240321_6fd2f42c
2024-05-01 09:30:05 +00:00
Maximilian Bosch
28f4adfb79
nixos/nextcloud: document known warnings 2024-05-01 11:03:23 +02:00
Maximilian Bosch
4e964de927
nextcloud26: remove 2024-05-01 10:22:25 +02:00
Tobi Bleiker
3accf6d393
znapzend: update declarations for --mailErrorSummaryTo
Co-authored-by: Janne Heß <dasJ@users.noreply.github.com>
2024-05-01 09:51:09 +02:00
K900
a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
Sandro
9f518823de
Merge pull request #307500 from NixOS/nox-ffmpeg
nixos/no-x-libs: add ffmpeg, ffmpeg_6, ffmpeg_7
2024-05-01 01:33:18 +02:00
éclairevoyant
afdaffb28a
Merge pull request #307813 from eclairevoyant/swayfx-uncouple
scenefx: init at 0.1; swayfx-unwrapped: 0.3.2 -> 0.4, decouple from sway-unwrapped and other cleanup
2024-04-30 22:36:42 +00:00
Matthieu C.
9e22d74930 luarocks-packages.csv: changed repo by rockspec uri
This is a breaking change that converts the 'src' csv column (a git URI) to a 'rockspec'
fullpath uri.
before this, luarocks-nix would clone the repo and look for rockspecs
with a brittle algorithm. This removes the ambiguity on which rockspec
to package while allowing to remove a bunch of brittle code from
luarocks-nix.
2024-05-01 00:11:49 +02:00
Felix Buehler
a181e098c9 nixos/mailman: prefer 'install' over 'chmod/chown' 2024-04-30 22:51:40 +02:00
Lin Jian
5f4eb816d2
Merge pull request #306546 from r-ryantm/auto-update/kanata
kanata: 1.5.0 -> 1.6.0
2024-05-01 04:46:24 +08:00
nicoo
d8e31f6617
nixos/systemd-boot: Avoid remote mypy executions (#263397) 2024-04-30 15:56:27 +00:00
Weijia Wang
f6a18241dd
Merge pull request #247828 from rhoriguchi/nixos/adguardhome
nixos/adguardhome: update config to match new schema, update package and fix update script
2024-04-30 16:44:10 +02:00
Weijia Wang
23cbc3c2b3 Merge branch 'master' into staging-next 2024-04-30 13:24:52 +02:00
superherointj
5bc228bd92
Merge pull request #307867 from kylecarbs/coder-maintainers
coder: add kylecarbs to maintainers
2024-04-30 05:47:16 -03:00
Michele Guerini Rocco
08e2a324ed
Merge pull request #287821 from ajamtli/qemu-vm-virtfs-security-model
nixos/qemu-vm: add option to specify security model to use for a shared directory
2024-04-30 10:44:37 +02:00
Lin Jian
a13a0801b7
nixos/release-notes: mention breaking changes for kanata 1.6.0 2024-04-30 16:32:47 +08:00
Jared Baur
3cdbad2ef1
nixos/switch-to-configuration: fix dbus implementation used for test
Makes the switch-test work with both dbus server implementations.
2024-04-29 21:41:07 -07:00
Kyle Carberry
e307a2e8e2 nixos/tests/coder: sync maintainers to coder package 2024-04-29 22:39:34 -04:00
Kyle Carberry
14679b13eb nixos/coder: sync maintainers to coder package 2024-04-29 21:11:23 -04:00
Rob Pilling
8210150764 Merge branch 'upstream/master' into feat/ebusd-log-none
Conflicts:
	nixos/modules/services/home-automation/ebusd.nix
2024-04-29 22:33:23 +01:00
Georg Haas
16a9328410
nixos/tests/clatd: init 2024-04-29 23:29:34 +02:00
Georg Haas
0c42398c9d
nixos/clatd: init 2024-04-29 23:29:29 +02:00
Pierre Penninckx
c7b71168ce
nixos/faster-whisper: set model download path (#307664)
Fix inspired from this issue: https://github.com/rhasspy/wyoming-faster-whisper/issues/27
2024-04-29 22:08:50 +02:00
éclairevoyant
72566d7bfb
swayfx-unwrapped: add basic nixos test 2024-04-29 15:47:59 -04:00
Florian Klink
141cd32902
Merge pull request #307731 from flokli/revert-dbus-broker-default
Revert "dbus: Switch default implementation to broker"
2024-04-29 17:31:38 +03:00
stove
a7931adab8 nixos/lib/qemu-common: add riscv{32,64}-linux to qemu guest matrix 2024-04-29 14:05:39 +02:00
github-actions[bot]
6fecc628f9
Merge master into staging-next 2024-04-29 12:01:15 +00:00
Florian Klink
b0d99c50c0 Revert "dbus: Switch default implementation to broker"
This reverts commit e827697fd3.

This seems to cause various issues during system activation, as reported
in https://github.com/NixOS/nixpkgs/issues/302771 for example.

Due to being close to branchoff, revert this for now.
We'll open a tracking issue to collect and sort out remaining issues.
2024-04-29 14:58:37 +03:00
Florian Klink
d77b0cf4f1
Merge pull request #301064 from SuperSandro2000/redis-thp
nixos/redis: enable vmOverCommit by defaul; don't disable transparent hugepages
2024-04-29 14:27:12 +03:00
Jörg Thalheim
e1a4c08ae8
Merge pull request #306339 from Mic92/systemd-boot
nixos/systemd-boot: avoid expensive mypy builds on configuration changes
2024-04-29 12:45:18 +02:00
Jörg Thalheim
368b2d71b4
Merge pull request #307130 from toastal/movim-no-parallel
movim: include authentication patch & remove parallel dependency
2024-04-29 09:34:08 +02:00
Even Brenden
021a0ffe57 nixos/jotta-cli: init jotta-cli
See https://github.com/NixOS/nixpkgs/issues/300063.
2024-04-29 09:14:47 +02:00
Vladimír Čunát
ad6f6ba399
Merge branch 'master' into staging-next 2024-04-29 08:22:30 +02:00
K900
8596068d46
Merge pull request #292115 from hcsch/wireplumber-extra-config
nixos/wireplumber: add `extraConfig` / `extraScripts` options for WirePlumber 0.5
2024-04-29 08:27:30 +03:00
Sandro Jäckel
08a681689f
nixos/no-x-libs: disable more GUIs for gst_all_1.gst-plugins-good 2024-04-28 22:14:08 +02:00
Maximilian Bosch
2b4e18f3d4
nixVersions.unstable: build from master, re-init at 2.22.0.pre20240321_6fd2f42c
The idea behind that is to enable users and developers of
downstream tools such as home-manager to test Nix master for several
reasons:

* Nix is currently trying to have a `master` branch that's always
  releasable[1]. We're still on Nix 2.18 in nixpkgs due to too many
  notable regressions. Enabling people to test latest master may help on
  that end.

* This uses the most bleeding-edge Nix, but our packaging, so we can
  identify issues with our packaging early.

* From what I've seen, most people are using the packages from nixpkgs
  anyways instead of the upstream flake, this is far more convenient
  anyways.

My plan is to update this once a week. Right now we rely on the
`installCheckPhase` here, but as soon as we have proper regression
testing[2], we may want to add `nixUnstable` there as well (however with
failures being allowed probably).

[1] https://discourse.nixos.org/t/nix-release-schedule-and-roadmap/14204
[2] https://github.com/NixOS/nixpkgs/pull/304332
2024-04-28 21:59:04 +02:00
Sandro Jäckel
5b88059fe5
nixos/release-notes: add redis vmOverCommit entry 2024-04-28 21:18:02 +02:00
Sandro Jäckel
5f349abc7b
nixos/redis: don't disable transparent hugepages
Since https://github.com/redis/redis/pull/4001 included in 6.2.0
transparent hugepages works when being set to madvise which is the NixOS
and upstream recommended default.
2024-04-28 21:17:03 +02:00
Sandro Jäckel
5071c02bb0
nixos/redis: enable vmOverCommit by default as recommended by redis itself
> WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition.
> Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328.
> To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
2024-04-28 21:17:03 +02:00
Sandro Jäckel
a19b4b84b0
nixos/oauth2-proxy{,-nginx}: remove with lib 2024-04-28 20:50:23 +02:00
Sandro Jäckel
34f87f3981
nixos/oauth2-proxy{,-nginx}: renamed from oauth2_proxy, also renamed the service, user, group 2024-04-28 20:50:23 +02:00
Sandro
c960becaf8
nixos/no-x-libs: add ffmpeg, ffmpeg_6, ffmpeg_7 2024-04-28 18:27:19 +02:00
Sandro Jäckel
aaa86f2926
nixos/containers: move storage.settings default into config
This avoids having to use workarounds like the following to retain the
default settings which podman requires to run.

virtualisation.containers.storage.settings = lib.recursiveUpdate options.virtualisation.containers.storage.settings.default {
  storage.options.mount_program = lib.getExe pkgs.fuse-overlayfs;
};
2024-04-28 17:55:56 +02:00
Jan Tojnar
1b2ebb8fbb Merge branch 'master' into staging-next 2024-04-28 17:33:27 +02:00
Tom Fitzhenry
03e851ea8e openssh: fix linkOpenSSL=false by linking libxcrypt
Possibly broken during https://github.com/NixOS/nixpkgs/pull/181764

Context: https://sourceware.org/legacy-ml/libc-alpha/2017-08/msg01257.html
2024-04-29 00:17:17 +10:00
Martin Weinelt
3b61d595b1
Merge pull request #307440 from vcunat/p/knot-service
nixos/knot: use a more precise type for .settings
2024-04-28 15:01:52 +02:00
Leona Maroni
6c69cfb804
nixos/vmagent: use dynamic user and cache directory 2024-04-28 13:55:47 +02:00
Leona Maroni
5f27e501a1
nixos/vmagent: remove global with lib; 2024-04-28 13:53:10 +02:00
toastal
13852fc9ad movim: remove parallel dependency
Currently there is an issue with $PATH & parallel causing build errors.
It’s probably best to just remove the dependency where bash forking is
good enough here.
2024-04-28 16:27:01 +07:00
Vladimír Čunát
5cb7aa5ec9
nixos/knot: use a more precise type for .settings
See discussion on PR #304373
2024-04-28 10:26:09 +02:00
Thomas Gerbet
deed6fb8f3
Merge pull request #277626 from nbraud/nixos/pam/ssh-agent-auth-31611-fix
nixos/pam: Use secure default for `sshAgentAuth.authorizedKeysFiles`
2024-04-28 09:24:38 +02:00
Weijia Wang
bab247f2bb Merge branch 'master' into staging-next 2024-04-28 05:11:43 +02:00
IBeTheBlueCat
6977b4dcff
nixos/doc: fix typo in abstractions.section.md (#305836)
I found this while perusing the manual thinking about whether or not to install NixOS on my new laptop. It threw me for a loop for a second but as best I can tell this meant to be ".org" like the rest of the example, and not ".com"
2024-04-28 04:47:24 +02:00
Weijia Wang
7f45fee52a Merge branch 'master' into staging-next 2024-04-28 04:02:14 +02:00
Sandro
85808e4b33
Merge pull request #304902 from SuperSandro2000/libinput-xserver
nixos/libinput: move out of xserver
2024-04-27 23:23:06 +02:00
Guillaume Girol
3ed7049cdd
Merge pull request #305853 from virchau13s-forks/isolate-module
isolate: add module and module tests
2024-04-27 22:48:20 +02:00
Sandro
c2207529a2
Merge pull request #307278 from andrew-d/andrew/remove-myself
maintainers: remove andrew-d as a maintainer
2024-04-27 21:33:07 +02:00
Martin Weinelt
2b1f64b358
Merge pull request #307264 from pks-t/pks-matrix-appservice-irc-fix-chown-registration-yml
nixos/matrix-appservice-irc: fix chown of registration.yml in pre-script
2024-04-27 21:12:38 +02:00
Andrew Dunham
ca9932abe5 maintainers: remove andrew-d as a maintainer
I am deeply saddened at the fact that I need to do this. I have no
interest in re-litigating everything that has happened over the past
weeks and months, but I want to make my position(s) extremely clear:

The thought of any of my work contributing to someone's death by drone
makes me feel physically ill.

Recent communications from senior members of the NixOS community have
made it clear that leadership is unaware or uninterested in the basics
of how to run and moderate a community in a way that is resilient to bad
actors. The recent post by @edolstra is tone-deaf and gives me no
confidence that the Nix/NixOS community is a place that I want to remain
involved in going forward. I am thus choosing to remove myself from such
a community.

I also hereby resign from the ACME team.

See also: #307033

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
2024-04-27 14:05:07 -04:00
Patrick Steinhardt
ff3358b3f5 nixos/matrix-appservice-irc: fix chown of registration.yml in pre-script
Before the startup, the matrix-appservice-irc service sets up the
registration file such that it can be used by matrix-synapse. Part of
that setup requires us to change the group of said file so that the home
server can read it. Consequently, we need CAP_CHOWN and require that the
@chown system calls are allowed.

While we supposedly set up both of these, the setup of system calls is
broken as we have both an allow and a deny list of syscalls. But while
the allow list contains "@chown", the deny list contains "@privileged"
which contains "@chown" itself. So ultimately, we end up denying
"@chown".

Fix this issue by specifying "@chown" after the deny list.
2024-04-27 19:04:08 +02:00
Adam Stephens
4ca0d88d17
nixos/incus: add missing packages to path
I manually audited all `RunCommand` and `exec.LookPath` calls in the incus repo, combined with the following information

/run/wrappers/bin
lxc usable-cub 20240427123718.368 WARN     idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:165 - newuidmap binary is missing

iw
lxc 20240427123830.358 ERROR    network - ../src/lxc/network.c:lxc_netdev_move_wlan:1679 - Couldn't find the application iw in PATH

minio-client
https://github.com/lxc/incus/pull/777

ceph-client
Added, but could be missing bits to actually work
May need full ceph package for `radosgw-admin` for object storage?
2024-04-27 09:55:36 -04:00
Amelia Cuss
2e0b0c2707 nixos/akkoma: Don't warn if no installWrapper
Currently the installWrapper warning is issued if sudo (and sudo-rs)
aren't installed.  This is fine, except we get the warning even if we
explicitly turn off installWrapper -- say, for this very reason!

Rather than warning on every build until either sudo is installed or
Akkoma is uninstalled, only warn if cfg.installWrapper is true.
2024-04-27 23:38:29 +10:00
Bruno BELANYI
240a9a5c4f nginx-sso: add ambroisie as maintainer
This includes the NixOS test as well.
2024-04-27 23:11:38 +10:00
K900
d85147ead0 nixos/oauth2_proxy_nginx: fix URL escaping 2024-04-27 15:00:42 +03:00
Aleksana
dfe10d3c07
Merge pull request #306054 from Sigmanificient/qtile-tests
qtile: add passthru tests
2024-04-27 19:43:22 +08:00
Pierre Bourdon
37889a30f9
maintainers: remove delroth 2024-04-27 11:54:22 +02:00
Weijia Wang
160dff0bae Merge branch 'master' into staging-next 2024-04-27 10:30:24 +02:00
Jörg Thalheim
121513ad01
Merge pull request #307155 from JohnRTitor/hyprland-module
nixos/hyprland: Set environment variables for Hyprland to work better
2024-04-27 08:36:44 +02:00
John Titor
d18a587b78
nixos/hyprland: Set environment variables for Hyprland to work better
XDG vars set to Hyprland
GTK and QT backend set to wayland (preferred), with x11 as fallback
Java AWT fix for tiling window managers
2024-04-27 11:44:44 +05:30
github-actions[bot]
ac252ffaef
Merge master into staging-next 2024-04-27 06:01:14 +00:00
Tom
97bb1199c0 maintainers: remove twitchyliquid64
Yall won't miss me. The packages I leave orphaned are trivially updated as dependents need the new versions.

But passively endorsing the direction this organization and its leadership is something I can't do.

To those who still have faith in turning this around, you da real MVP 🖖
2024-04-26 22:48:31 -07:00
Sarah Brofeldt
75541131ef
Merge pull request #306608 from Tom-Hubrecht/netbird-coturn
nixos/netbird: Fix configuration of coturn server
2024-04-27 07:35:02 +02:00
Weijia Wang
37876dbdad Merge branch 'master' into staging-next 2024-04-27 05:44:19 +02:00
Jacek Generowicz
86aa70f787
doc/release-notes: towards uniform style (#306235)
* Minor tweaks to note text

* Elide "The" before attribute names at start of notes

* Turn version numbers into code blocks

* Turn branding into attribute names

* Add TODOs

* Turn code-block version numbers into plain text

... following discussion on Matrix.

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2024-04-27 05:42:38 +02:00
Weijia Wang
c0e50ded28
Merge pull request #306046 from misuzu/maintainers
{gotosocial,castopod,swapspace,psi-plus,kmon}: remove misuzu from maintainers
2024-04-27 05:23:55 +02:00
e1mo
896919ded5 nixos/parsedmarc: Fix smtp.to and default elasticsearch url
Previously evaluaton would fail if `smtp.to` was not set, since the
default case was not handled.

With the current versions of the python elasticsearch libraries, any
configuration containing the modules default would fail since it's not a
valid URL.

The issue adressed in #279068 is also adressed, thuse closes #279068.
2024-04-27 04:55:52 +02:00
Robert Schütz
1f670eeed3 nixos/parsedmarc: use top-level parsedmarc package 2024-04-27 04:55:52 +02:00
Ryan Mulligan
30c31ffec4
Merge pull request #307033 from danderson/clerical-error
Leave the Determinate Systems community
2024-04-26 19:28:46 -07:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Adam C. Stephens
2a899c07e4
Merge pull request #301564 from adamcstephens/lxc/6
lxc: 5.0.3 -> 6.0.0
2024-04-26 16:26:14 -04:00
Adam C. Stephens
f667250b4d
Merge pull request #306341 from adamcstephens/forgejo/7
forgejo: 1.21.11-1 -> 7.0.0
2024-04-26 15:56:44 -04:00
Dave Anderson
308cb342c9 maintainers: drop danderson 2024-04-26 11:36:50 -07:00
github-actions[bot]
037c0663b9
Merge master into staging-next 2024-04-26 18:00:58 +00:00
Acid Bong
abdeca343a
nixos/qtile: add finalPackage option
This exposes the resulting Qtile bundle in case the user wants to start
Qtile session different than with a login manager
2024-04-26 20:08:12 +03:00