Commit graph

36258 commits

Author SHA1 Message Date
Morgan Jones 672f423d0c nixos/mattermost: default preferNixConfig to true
Now that we are disabling telemetry by default, we should attempt to
override it and other options in existing mutable configs,
if the user had a mutable config and advances their system.stateVersion.
2025-01-27 10:29:37 +01:00
Morgan Jones fc3f7c17e2 nixos/mattermost: disable telemetry by default
We should disable telemetry but enable security update checks. Make both
controlable in the module without digging into settings.

Disabling telemetry also makes NixOS tests faster because the server
tries to send telemetry on first start.
2025-01-27 10:29:37 +01:00
Lin Jian 321e731040
nixos/guix: set proxy env vars for guix-daemon (#373948) 2025-01-27 13:30:13 +08:00
Florian Klink 7f4f965d73
nixos/network-interfaces-systemd: remove unused arg in genericDhcpNetworks (#376959) 2025-01-26 23:18:42 +02:00
Arne Keller 2ab9225a40
stash: refactor; 0.25.1 -> 0.27.2; nixos/stash: init (#323231) 2025-01-26 15:16:35 +01:00
Julien Moutinho 69b606d103 nixos/public-inbox: enable confinement 2025-01-26 15:06:05 +01:00
Arne Keller cf577e4308
foundationdb: pin Boost 1.86 and fix Makefile (#376230) 2025-01-26 14:18:54 +01:00
Florian Klink 0b65cf03f0 nixos/network-interfaces-systemd: remove unused arg in genericDhcpNetworks
The first argument is not used (anymore).
2025-01-26 14:51:00 +02:00
Michele Guerini Rocco 6f20987865
nixos/wireless: remove patch warning from allowAuxiliaryImperativeNetworks option (#374666) 2025-01-26 09:43:17 +01:00
K900 7c251e2b5f
Revert "pkgs/top-level: make package sets composable" 2025-01-26 09:43:44 +03:00
Weijia Wang 8504e3c64d
pixelfed: 0.12.3 -> 0.12.4 (#371746) 2025-01-26 01:06:04 +01:00
Weijia Wang f6a5227d48
nixos/gdomap: fix eval (#376828) 2025-01-26 00:37:14 +01:00
Weijia Wang 614404df3e nixos/gdomap: fix eval 2025-01-26 00:30:30 +01:00
Weijia Wang 9d71dc7005 nixos/pixelfed: bump php version 2025-01-26 00:03:45 +01:00
Christian Kögler 99c172d777
services.xray: pass the settings file with systemd loadCredential (#368763) 2025-01-25 22:29:58 +01:00
Wolfgang Walther b3ef08a73c
pkgs/top-level: make package sets composable (#303849) 2025-01-25 21:25:27 +01:00
Sandro aa26579bd4
nixos/modules: drop findutils locate support (#375544) 2025-01-25 21:14:17 +01:00
Sandro df5ec1a2e0
nixos/paperless: #242084 follow up to fix defaultText (#373472) 2025-01-25 21:10:25 +01:00
7c6f434c 02b25b2110
squid: add config validation (#376759) 2025-01-25 19:35:52 +00:00
Wolfgang Walther eec21001b0
nixos/nixpkgs: pass original system args instead of elaborated
Passing the elaborated system defeats what pkgs/top-level/default.nix
tries to do: Pass only the original args and let defaults be inferred.

The underlying problem is that lib.systems.elaborate can not deal with
arbitrary overrides, but will often return an inconsistent system
description when partially overriding some values. This becomes most
prominent if trying to override an already elaborated system.
2025-01-25 18:55:03 +01:00
Joshua Kobschätzki bb1993232d squid: add config validation
Inspired by NGINX config validation with pkgs.writers
2025-01-25 18:49:34 +01:00
Austin Horstman 5857f428f0
nixos/pay-respects: fix environment config (#376453) 2025-01-25 10:41:42 -06:00
Sandro a2e08fbd52
nixos/simplesamlphp: don't configure empty options (#370787) 2025-01-25 16:59:55 +01:00
Adam C. Stephens 0e7fa5714c
incus: fix instance unclean shutdown, add per-instance lxcfs support (#373920) 2025-01-25 10:05:03 -05:00
Bjørn Forsman cb4d104baf nixos/libvirt-guests: add missing dependency on libvirtd.service
Ensure that VMs get properly suspended (or shutdown) instead of "pulling
the plug" on them.

Simulating shutdown with
`sudo systemctl stop libvirtd.service libvirtd-ro.socket libvirtd-admin.socket libvirtd.socket libvirt-guests`:

Before:

  systemd[1]: Stopping libvirt guests suspend/resume service...
  libvirt-guests.sh[1472512]: Can't connect to default. Skipping.
  systemd[1]: libvirt-guests.service: Deactivated successfully.

After:

  systemd[1]: Stopping libvirt guests suspend/resume service...
  libvirt-guests.sh[1524073]: Running guests on default URI:
  libvirt-guests.sh[1524067]: ubuntu22.04
  libvirt-guests.sh[1524100]: Suspending guests on default URI...
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: ...
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: 1.421 GiB
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: 2.618 GiB
  libvirt-guests.sh[1524067]: Suspending ubuntu22.04: done
  systemd[1]: libvirt-guests.service: Deactivated successfully.
2025-01-25 14:38:55 +01:00
Austin Horstman 41f6c05504
nixos/pay-respects: fix environment config
Unable to build flake since this was introduced, seems it clobbers other
configuration attributes.
2025-01-24 19:25:05 -06:00
DrakeTDL 8814ab8ab5
nixos/stash: init 2025-01-24 10:50:55 -08:00
Pol Dellaiera f426a49433
nixos/mongodb: add support for mongodb-ce package (#375587) 2025-01-24 19:24:49 +01:00
Martin Weinelt 14ce74a5ef
nixos/wyoming/piper: drop download directory
The download directory must be one of the data directories, but if we do
not set it the first data directory will be used as the data directory.
2025-01-24 18:28:31 +01:00
Martin Weinelt 47eda6dab7
nixos/wyoming/faster-whisper: drop download directory
The download directory must be one of the data directories, but if we do
not set it the first data directory will be used as the data directory.
2025-01-24 18:27:13 +01:00
Martin Weinelt 7d413989e4
nixos/wyoming/openwakeword: fix eval (#376381) 2025-01-24 14:40:58 +01:00
Maciej Krüger 8def3ffa62
nixos/netdata: fix permissions for some collectors (#340073) 2025-01-24 13:56:54 +01:00
Martin Weinelt 232d46e06e
nixos/wyoming/openwakeword: fix eval
Incomplete bracketing led to a partial application of the concatMap
function, which broke the evaluation of this module.
2025-01-24 13:47:33 +01:00
Robert Rose 3701d859ae foundationdb: mark cross-compiling as broken 2025-01-24 09:44:58 +01:00
Weijia Wang 1e04dc2000
nixos/{rippled,rippleDataApi}: drop (#374568) 2025-01-23 20:15:51 +01:00
Cosima Neidahl b7d58b870d
lomiri.lomiri-telephony-service: 0.5.3 -> 0.6.0, rename from lomiri.telephony-service (#374141) 2025-01-23 19:03:06 +01:00
r-vdp 73f3fe4839
nixos/activation: log output from pre-switch checks on stderr 2025-01-23 15:51:40 +01:00
r-vdp 113dbd79de
nixos/activation: improve preSwitchChecks
A couple of improvements:

1. Avoid the generally discouraged apply argument to options, as it has
   quite weird semantics
2. Avoid issues when a user calls a preSwitchCheck `script`, which
   would've been silently overridden by the existing implementation.
   Reliance on a special attribute name like that is bound to lead to a
   very-hard-to-debug problem for someone at some point
3. Use writeShellApplication so that the preSwitchChecks are checked by
   shellcheck and and so that they run with basic bash guardrails
4. Fix shellcheck issue (testing the value of $?)
5. Add a positive preSwitchCheck to the nixos test, to make sure that
   that works as intended
2025-01-23 15:51:37 +01:00
Arne Keller baa3537982
opengamepadui: init at 0.35.7 (#368017) 2025-01-23 09:49:15 +01:00
Lin Jian 363cce76a2
various: remove AndersonTorres from maintainership (#375416) 2025-01-23 13:37:50 +08:00
Anderson Torres bc80114502 various: remove AndersonTorres from modules maintainership 2025-01-22 21:47:09 -03:00
Martin Weinelt f265377b4d
nixos/mediawiki: Ignore composer dependencies when calling update.php (#375658) 2025-01-22 23:29:45 +01:00
William Edwards 931f637cfa nixos/opengamepadui: init 2025-01-22 09:07:25 -08:00
Fazzi cc39de3db2 fancontrol: fix path by using lib.getExe' 2025-01-22 13:40:26 +00:00
William Edwards daaab4b153 nixos/powerstation: init 2025-01-21 19:02:30 -08:00
fleaz 9c0aff55a2 nixos/mediawiki: Ignore composer dependencies when calling update.php 2025-01-21 22:58:20 +01:00
Leona Maroni c068347f63
Fixes and housekeeping for the varnish module (#373747) 2025-01-21 19:38:51 +01:00
Niklas Korz d223d3f15d nixos/mongodb: add pkgs.mongodb-ce as package option example 2025-01-21 18:25:39 +01:00
Niklas Korz 2f8af3ea93 nixos/mongodb: replace option initialRootPassword with initialRootPasswordFile 2025-01-21 18:25:39 +01:00
Niklas Korz 3f8a2242b2 nixos/mongodb: use mongosh instead of legacy shell 2025-01-21 18:25:39 +01:00