Commit Graph

40617 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Pol Dellaiera
02f79ad801
Merge pull request #306535 from khaneliman/wshowkeys
wshowkeys: add cfg.package option
2024-04-26 18:02:41 +02:00
Maxine Aubrey
11aa9c6335
Merge pull request #305925 from trofi/redlib.tests-fix-eval
redlib.tests: fix eval
2024-04-26 17:29:37 +02:00
K900
f13d09e539
Merge pull request #306938 from K900/oauth2-proxy-parametrized
nixos/oauth2_proxy_nginx: allow passing parameters to auth endpoint
2024-04-26 16:05:13 +03:00
Peder Bergebakken Sundt
01a730b41e
Merge pull request #266540 from surfaceflinger/hardened-malloc-light
graphene-hardened-malloc: migrate to by-name, build light variant
2024-04-26 15:05:09 +02:00
K900
ea525d3d11 nixos/oauth2_proxy_nginx: allow passing parameters to auth endpoint 2024-04-26 15:48:40 +03:00
Aleksana
c1c2a084c7
Merge pull request #306761 from Cryolitia/sunshine
nixos/sunshine: add autoStart attr
2024-04-26 16:49:15 +08:00
Thomas Gerbet
f8deac79ef
Merge pull request #305155 from Mynacol/akkoma-fix-proxy
nixos/akkoma: Fix media proxy URLs after upgrade
2024-04-26 00:39:11 +02:00
Someone
5e05a5e3c9
Merge pull request #306656 from ShamrockLee/apptainer-format
apptainer, singularity: format Nix expression according to Nix RFC 166
2024-04-25 19:45:51 +00:00
Martin Weinelt
a1030cf5ac
Merge pull request #306640 from pyrox0/prometheus-exporter-with-removal
nixos/prometheus/exporters: Remove all `with lib;` usage
2024-04-25 17:25:34 +02:00
Nick Cao
2a3398e198
Merge pull request #306468 from nat-418/fix-update-conduit-doc-link
matrix-conduit: update link to config docs
2024-04-25 09:34:18 -04:00
Maximilian Bosch
23f73fb2e6
nixos/nextcloud: php83 for nc29, update release notes
* PHP 8.3 seems supported, so let's go for it!

* The conditions for which Nextcloud will be the default were bogus: for
  <24.11 I'd suggest to go for nextcloud29 already. The people on
  unstable relying on the condition were on nextcloud28 so the upgrade
  will work fine.

  Also, it's unstable, so such upgrades are to be expected IMHO.

* Update the release notes to reflect that the new default is Nextcloud
  29 and warn that only one major upgrade at a time can be done.
2024-04-25 15:27:30 +02:00
Raito Bezarius
4a76833a0d
nixos/tests/nextcloud: test NextCloud 29 (Hub 8) too
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-04-25 15:27:30 +02:00
Raito Bezarius
04e7710507
nixos/nextcloud: set 29 as default version for >= 24.11
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-04-25 15:27:30 +02:00
Someone
6628d21457
Merge pull request #306337 from ereslibre/add-docker-daemon-cdi-flag
nixos/nvidia-container-toolkit: enable CDI in docker settings
2024-04-25 09:04:43 +00:00
北雁 Cryolitia
13e6ece470
nixos/sunshine: add autoStart attr 2024-04-25 16:53:24 +08:00
Yueh-Shun Li
54e547ff5d nixos/singularity: format using nixfmt (Nix RFC 166) 2024-04-25 14:06:25 +08:00
Mario Rodas
183a604e7a
Merge pull request #305572 from wolfgangwalther/remove-promscale-pgx
promscale_extension,buildPgxExtension: remove
2024-04-24 22:11:14 -05:00
éclairevoyant
cae565a58e
Merge pull request #306349 from pyrox0/pyrox-maintainer
maintainers: thehedgeh0g -> pyrox0
2024-04-24 23:23:22 +00:00
Maximilian Bosch
e59f7ab9ef
Merge pull request #278152 from ckiee/roundcube-fix-postgresql-package-ref
nixos/roundcube: eliminate extra postgres package for local databases
2024-04-24 21:33:54 +00:00
Pyrox
b4fd1b4fe2
nixos/tests/prometheus-exporters: Fix test failure
This fixes an issue with the test where olcDbDirectory must be a
subdirectory of /var/lib/openldap, but is not configured as such, so the
test fails.

All other tests pass properly.
2024-04-24 17:13:51 -04:00
Atemu
2432c6b829
Merge pull request #271071 from pbsds/wrapAppImage-pname-redux
appimageTools.wrapAppImage: remove version from `pname`
2024-04-24 21:48:19 +02:00
ckie
bdde259862
nixos/roundcube: eliminate extra postgres package for local databases 2024-04-24 22:45:37 +03:00
Pyrox
ae359d1ef2
nixos/prometheus/exporters: Remove all with lib; usage
Fixes issues described in #208242 for this part of the nixpkgs tree.

There are no behavioral changes in this, it only adjusts the code so
that it is easier to understand.
2024-04-24 14:42:16 -04:00
Tom Hubrecht
5ad0ea1aaf nixos/netbird: Fix configuration of coturn server 2024-04-24 20:35:32 +02:00
Maciej Krüger
657e5c43be
Merge pull request #283298 from mkg20001/rustdesk-dynamic
rustdesk-server: use DynamicUser
2024-04-24 20:03:44 +02:00
Maciej Krüger
9c565e0e69
rustdesk-server: use DynamicUser
this was a suggestion on #272501
2024-04-24 19:00:37 +02:00
Pyrox
11255ef03c
maintainers: thehedgeh0g -> pyrox0
Also updates my information and contact info.

I no longer use The Hedgehog as my github username or online presence
username, so this fixes that. It also matches my github username, so it
should be easier for others to mention me if needed.
2024-04-24 12:53:58 -04:00
Rafael Fernández López
eb59699fbb hardware/nvidia-container-toolkit: enable CDI on virtualisation.docker.daemon.settings 2024-04-24 18:08:04 +02:00
Austin Horstman
91322305eb
wshowkeys: add cfg.package option 2024-04-24 08:47:38 -05:00
Peder Bergebakken Sundt
340d601e84 appimage: avoid setting name 2024-04-24 15:26:52 +02:00
Peder Bergebakken Sundt
90622c10bd appimageTools.wrapAppImage: passthru pname and version 2024-04-24 15:26:52 +02:00
networkException
3dd970f993
nixos/vaultwarden: drop outdated ownership requirements for environmentFile (#304825)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-04-24 15:19:33 +02:00
Sandro
212e6522de
Merge pull request #305563 from birkb/drbd-kernel-module 2024-04-24 14:25:12 +02:00
Martin Weinelt
cfa475854a
nixos/evcc: restart on failure 2024-04-24 12:36:21 +02:00
Thomas Gerbet
ecd2d35be0
Merge pull request #305742 from tomfitzhenry/ssh-no-pam
nixos/ssh: expose UsePAM and PrintMotd as options
2024-04-24 09:40:24 +02:00
Marie Ramlow
86913e049d gauge: add wrapper
Adds a wrapper to the gauge package, which allows installing plugins declaratively with nix.
2024-04-24 09:22:38 +02:00
nat-418
d24376448b
docs(conduit): update link to config docs 2024-04-24 09:11:03 +02:00
Lin Jian
8c6ccd9a8f
Merge pull request #305370 from stuebinm/docs-remove-emacs-docbook-section
nixos/emacs: remove docbook section in the documentation
2024-04-24 08:48:42 +08:00
Adam Stephens
6c359d6488
forgejo: 1.21.11-1 -> 7.0.0 2024-04-23 19:04:25 -04:00
stuebinm
5996290676 nixos/emacs: remove docbook section in emacs documentation
Since with the completion of the docbook migration) it seems unclear
what relevance editing xml in generall and docbook in particular with
Emacs still has to NixOS at all, and people interested in the topic
will presumably look to other resources elsewhere (e.g. to the nXML
mode's actual documenation).
2024-04-23 23:18:33 +02:00
Someone
7035968845
Merge pull request #290979 from ereslibre/cdi-add-nvidia-docker-1-directories
CDI: Add `mount-nvidia-binaries` and `mount-nvidia-docker-1-directories` options
2024-04-23 19:55:41 +00:00
Jörg Thalheim
a4a18f7b92 nixos/systemd-boot: avoid expensive mypy builds on configuration changes
* Mypy dependencies pull in quite a few packages, which makes it harder to create offline installers.
2024-04-23 20:05:26 +02:00
Adam C. Stephens
d274696071
Merge pull request #306239 from mweinelt/incus-vtpm
nixos/incus: add support for software TPMs
2024-04-23 09:24:21 -04:00
Tom Fitzhenry
3fd9ef4b40 nixos/ssh: allow PrintMotd to be enabled 2024-04-23 22:53:09 +10:00
Tom Fitzhenry
2e51a2fd03 nixos/ssh: allow UsePAM to be disabled 2024-04-23 22:40:58 +10:00
Tom Fitzhenry
41911ed9d2 tests/openssh: tidy up tests
This test renames server_allowedusers to server-allowed-users.

As a side-effect, since IPs are allocated to machines in alphabetical order,
the IP assigned to server-lazy-socket changed, so the corresponding test had
its IP updated.
2024-04-23 22:39:02 +10:00
Rafael Fernández López
de3ce5ffa7 nixos/nvidia-container-toolkit: add mount-nvidia-executables and mount-nvidia-docker-1-directories options
- `mount-nvidia-binaries`: this option allows users to avoid mounting
nvidia binaries on the container.

- `mount-nvidia-docker-1-directories`: this option allows users to
avoid mounting `/usr/local/nvidia/lib{,64}` on containers.
2024-04-23 12:31:45 +02:00
Rafael Fernández López
471ff2c33c nixos/nvidia-container-toolkit: rename from virtualisation.containers.cdi.dynamic.nvidia.enable
Add the NixOS option `hardware.nvidia-container-toolkit-cdi-generator.enable`.

This enables the ability to expose GPU's in containers for container
runtimes that support the Container Device Interface (CDI)

Remove `cdi.static` and `cdi.dynamic.nvidia.enable` attributes.
2024-04-23 12:26:00 +02:00
Jörg Thalheim
0b4cb020ff
Merge pull request #306076 from mrgiles/mediawiki_explicit_admin_username
mediawiki: update passwordfile description field
2024-04-23 12:16:29 +02:00
Martin Weinelt
8541ec6d85
nixos/incus: add support for software TPMs
Was previously broken due to a missing runtime dependency.

> Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
2024-04-23 12:04:14 +02:00
Florian Klink
5a2d4496d3
Merge pull request #297726 from r-vdp/systemd-unit-names
systemd: add a name option to all systemd units
2024-04-23 12:58:51 +03:00
Kyle Carberry
68a917dc64
nixos/coder: fix broken service by referencing proper env (#305993) 2024-04-23 06:06:25 -03:00
Paul Meyer
ceead2d7e4 azure-cli: document extensions in description, fix release notes
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-04-22 16:03:54 -07:00
Jacek Generowicz
e683bf0c60
First update to release notes (#305965)
* Change spelling: freeform -> free-form

* Rejoin nginx message split by bacula

* Fix typos and trivial rewording

* Move package/service names to start of notes

* Switch package/service names to code font

* Reword some release notes

* Update nixos/doc/manual/release-notes/rl-2405.section.md

Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>

---------

Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
2024-04-22 11:50:31 -07:00
Marcelo Giles
ac259c3a59
mediawiki: update passwordfile description field 2024-04-22 11:02:52 -07:00
Sigmanificient
1cdb19472c qtile: add passthru tests 2024-04-22 19:00:41 +02:00
misuzu
1c99cea684 castopod: remove misuzu from maintainers 2024-04-22 19:19:48 +03:00
misuzu
4146e6ea38 gotosocial: remove misuzu from maintainers 2024-04-22 19:19:01 +03:00
Maximilian Bosch
e8e9c5c3b1
Merge pull request #305837 from Ma27/roundcube-php83
nixos/roundcube: use php 8.3
2024-04-22 13:43:17 +00:00