Commit Graph

37896 Commits

Author SHA1 Message Date
Sandro Jäckel
1ebb7d7bba
nixos/gitea: add hmacKey support 2023-12-18 23:44:24 +01:00
Jonathan Ringer
432b9bd620 nixos/firmware: Omit removed rtl8723-bs package 2023-12-18 10:49:40 -08:00
Nick Cao
bdd50be980
Merge pull request #273876 from timothyklim/master
nvidia_x11.dc_535: 535.129.03
2023-12-18 12:50:00 -05: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
WilliButz
92ad5c907c
Merge pull request #274543 from fugidev/sabnzbd-exporter-loadcredential
nixos/prometheus-sabnzbd-exporter: use LoadCredential for apiKeyFile
2023-12-18 15:09:35 +01:00
Peder Bergebakken Sundt
45052e5e52
Merge pull request #273397 from ipetkov/nut
nixos/ups: fix shutting down the UPS from primary monitors
2023-12-18 15:06:22 +01:00
Fugi
6430b7a181
nixos/prometheus-sabnzbd-exporter: use LoadCredential for apiKeyFile 2023-12-18 14:48:49 +01:00
Florian Klink
f1c8d0709b nixos/waagent: provide waagent udev rules in initrd
This should make /dev/disk/azure appear in-initrd too.
2023-12-18 13:18:11 +02:00
Florian Klink
276939e0a1 nixos/waagent: move runtime dependencies to systemd service
The udev rules shell out to chmod, cut and readlink, which are available
for udev rules (see https://github.com/NixOS/nixpkgs/pull/274236).
2023-12-18 13:18:11 +02:00
Maximilian Bosch
1a9fe45b53
Merge pull request #275053 from danth/nextcloud-mjs
nixos/nextcloud: set correct MIME type for .mjs files
2023-12-18 11:07:22 +01:00
Ryan Lahfa
ed66c68205
Merge pull request #275028 from pacien/zfs-zed-sendmail 2023-12-18 10:32:58 +01:00
Ryan Lahfa
17c3ebdba5
Merge pull request #265857 from 999eagle/feat/invidious-scale
nixos/invidious: cleanup, allow for easy scaling and load balancing, add http3-ytproxy
2023-12-18 10:17:09 +01:00
K900
aa3cd9c955 nixos/tests/gitlab: download even more RAM
Also remove the 32-bit conditional as it already fails on 4GB.
2023-12-18 11:35:09 +03:00
Pierre Bourdon
afa3f9b7c1
Merge pull request #264966 from l0b0/test/verify-npmrc-setup
nixos: test `programs.npm.npmrc` setting
2023-12-18 07:06:14 +01:00
Sandro Jäckel
8c58a7cb4b
nixos/luksroot: add final newline to /etc/crypttab 2023-12-18 02:16:08 +01:00
Peder Bergebakken Sundt
0f92e92565
Merge pull request #263661 from SuperSandro2000/pulseaudio-no-avahi
nixos/pulseaudio: don't create config file or enable avahi when pulse…
2023-12-18 00:10:29 +01:00
Peder Bergebakken Sundt
80beaf2b29
Merge pull request #245327 from JohnAZoidberg/keyd-2.4.3
keyd: 2.4.2 -> 2.4.3
2023-12-17 23:41:06 +01:00
Someone Serge
b27c3e8252
nixos/munge: restart "on-failure" (the default was "no") 2023-12-17 22:18:06 +00:00
Someone Serge
515a26d997
nixos/munge: run in foreground instead of using pidfile
Confuse systemd less
2023-12-17 22:16:09 +00:00
Someone Serge
b29d689e3a
nixos/munge: ask for the optional time-sync.target 2023-12-17 22:16:06 +00:00
Someone Serge
8fe8a22578
nixos/munge: ask for network-online instead of network.target 2023-12-17 22:16:01 +00:00
Izorkin
362a2e618c
nixos/tests: add test api in angie package 2023-12-17 22:43:15 +03:00
Izorkin
b79f185409
nixos/tests/nginx-http3: add angie package in testing 2023-12-17 22:43:15 +03:00
Izorkin
86efccfa45
angie: init at 1.4.0 2023-12-17 22:43:13 +03:00
Daniel Thwaites
292c74c7a9
nixos/nextcloud: set correct MIME type for .mjs files 2023-12-17 19:17:10 +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
Sophie Tauchert
ac5c1886fd
nixos/invidious: add option to configure http3-ytproxy for invidious 2023-12-17 19:48:03 +01:00
Sophie Tauchert
d41706bae2
nixos/invidious: bind to 127.0.0.1 instead of 0.0.0.0 if nginx is used 2023-12-17 19:48:03 +01:00
Sophie Tauchert
65e8f8a697
nixos/tests/invidious: add test for scaled invidious 2023-12-17 19:48:02 +01:00
Sophie Tauchert
45bd4b1159
nixos/invidious: add option to run more invidious instances 2023-12-17 19:48:02 +01:00
Sophie Tauchert
460e34b273
nixos/tests/invidious: move postgres-tcp into second machine and fix tests
Using PostgreSQL 15 without the init script fails due to
https://github.com/NixOS/nixpkgs/issues/216989.
2023-12-17 19:48:02 +01:00
Sophie Tauchert
4a7faeaff3
nixos/invidious: remove obsolete database maintenance service
See the note on https://docs.invidious.io/db-maintenance/. Manual maintenance
is no longer required.
2023-12-17 19:48:02 +01:00
jpathy
0225a786e5
nixos/networkd: allow IPv6LinkLocalAddressGenerationMode in networkConfig
Fixes: #199407 .
2023-12-17 19:39:59 +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
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
K900
cbed115407 nixos/tests/nixos-rebuild-specialisations: download even more RAM 2023-12-17 19:27:07 +03:00
Jussi Kuokkanen
60cb6ee94f nixos/tuxclocker: init module 2023-12-17 18:16:45 +02:00
K900
b3d1ef8dde
Merge pull request #272534 from jopejoe1/pipewire
nixos/pipewire: add pipewire config
2023-12-17 14:03:11 +03:00
jopejoe1
8ba76f8dd4 nixos/pipewire: add pipewire config 2023-12-17 13:38:32 +03:00
Peder Bergebakken Sundt
934c255ae4
Merge pull request #268975 from nbraud/pkgs/certmgr
nixos/kubernetes: certmgr-selfsigned is now an alias
2023-12-17 03:37:45 +01:00
Mario Rodas
46b52eea7a
Merge pull request #268156 from reedriley/starship-env
nixos/starship: change module logic that sets STARSHIP_CONFIG to not override user config
2023-12-16 18:46:06 -05:00
Peder Bergebakken Sundt
210dd845de
Merge pull request #274808 from pbsds/node-red-package-option
nixos/node-red: fix `cfg.package` default value documentation
2023-12-16 23:20:07 +01:00
Thiago Kenji Okada
460515843c
Merge pull request #269662 from atorres1985-contrib/quick
remove jammerful
2023-12-16 21:11:28 +00:00
Peder Bergebakken Sundt
77e3850db0 nixos/node-red: fix cfg.package default value documentation 2023-12-16 21:03:18 +01:00
Lin Jian
174fc675c8
Merge pull request #273313 from Enzime/add/mosh-firewall-option
nixos/mosh: add `programs.mosh.openFirewall`
2023-12-16 12:24:42 -06:00
Pol Dellaiera
8da07755de
nixos/winbox: add missing environment.systemPackages 2023-12-16 10:09:59 +01:00
K900
be1866d698
Merge pull request #270958 from MinerSebas/plasma-samba
nixos/plasma5: Dont add samba a second time to `environment.systemPackages`
2023-12-16 09:15:47 +03:00
Michael Hoang
5a211498ed nixos/mosh: add programs.mosh.openFirewall 2023-12-16 12:57:20 +11:00
Michael Hoang
f9be47e08c nixos/mosh: use mkEnableOption 2023-12-16 12:57:03 +11:00
Luflosi
45c4fb240a
nixos/kubo: convert two settings to RFC42-style settings
Convert the `ipfsMountDir` and `ipnsMountDir` settings to RFC42-style settings.
I don't know why I didn't already do this in a255c43f44, I guess I just missed it.
2023-12-16 01:01:56 +01:00
Pol Dellaiera
f6608ef020
Merge pull request #274519 from drupol/winbox-module
nixos/winbox: init
2023-12-16 00:51:37 +01:00
Luflosi
d4fcb44dcc
nixos/kubo: fix potential panic on startup
This fixes a panic of the kubo daemon which could occur under certain conditions when the daemon was starting.
It was caused by the `ipfs.service` unit not depending on the `ipfs-api.socket` and `ipfs-gateway.socket` units with `Wants=`. This allows the `ipfs.service` to be started manually or by `nixos-rebuild` without the sockets being set up before that. When that happens, the daemon won't know about these sockets and will only use what is set in `services.kubo.settings.Addresses.Gateway` and `services.kubo.settings.Addresses.API`. By default the `API` is an empty list in NixOS though. The daemon doesn't like this at all and panics on startup, see https://github.com/ipfs/kubo/issues/10056.
With this commit, starting `ipfs.service` will first set up the two sockets before starting the actual service.
Adding the `Sockets=` option implicitly adds a `Wants=` for the sockets and this is exactly what we need. See https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Implicit%20Dependencies . This can be checked with `systemctl show ipfs.service`.

This should probably be upstreamed to the unit file in the Kubo repo.

The problem can be reproduced in the following way:
- Add `services.kubo.enable = true` to `/etc/nixos/configuration.nix`
- `sudo nixos-rebuild switch` (this may already fail, not sure why it's not deterministic for me)
- `sudo systemctl stop ipfs-api.socket`
- `sudo systemctl stop ipfs-gateway.socket`
- `sudo systemctl stop ipfs.service`
- `sudo systemctl start ipfs.service`

Fixes #248447.
2023-12-15 23:36:08 +01:00
Franz Pletz
203ecda835
Merge pull request #274321 from Luflosi/update/kubo
kubo: 0.24.0 -> 0.25.0
2023-12-15 20:16:17 +01:00
Franz Pletz
cbb38bf7b7
Merge pull request #264869 from h7x4/nixos-module-cleanup-quicktun
nixos/quicktun: clean up module, add tests
2023-12-15 20:14:39 +01:00
Pol Dellaiera
700959c8ee
nixos/winbox: init 2023-12-15 19:48:49 +01:00
Nick Cao
63d30a7bff
Merge pull request #274291 from wahjava/fix-drbd-service
drbd: fix path to drbdadm
2023-12-15 09:58:55 -05:00
benaryorg
c3256929e9
nixos/resolved: changelog for fallbackDns changes
Signed-off-by: benaryorg <binary@benary.org>
2023-12-15 13:07:36 +00:00
benaryorg
57846d0cae
nixos/resolved: Allow upstream fallback override
The previous code did not apply any changes to the upstream defaults on being presented with an empty list.
This changes the code to use the above behaviour on a `null` value while an empty list is passed through as normal which yields a systemd configuration line with empty value which resets it to an empty value.

Signed-off-by: benaryorg <binary@benary.org>
2023-12-15 13:07:05 +00:00
Martin Weinelt
9f6a054517
nixos/kea: preserve shared runtime directory
When one service gets restarted it may otherwise remove the shared
runtime directory for all kea services.

The idea for this solution was provided by Jeffrey C. Ollie in
https://github.com/NixOS/nixpkgs/issues/265826#issuecomment-1841424019.

Closes: #265826
2023-12-15 13:56:08 +01:00
Martin Weinelt
cd6ccb1737 Revert "kea: use separate runtime directories for each service"
This reverts commit 413011ddf4.

Using separate lockfile directories prevents the different kea daemons
from using the interprocess sync lockfile.

Keeping the runtime directory around might be the better approach.
2023-12-15 13:51:19 +01:00
Florian Klink
f4de47d49e
Merge pull request #274264 from flokli/udev-rules-allow-bin-sh
nixos/udev: allow /bin/sh in udev rules
2023-12-15 13:57:35 +02:00
timothy
6e4d90f0b0 nvidia_x11.dc_535: 535.129.03 2023-12-15 18:20:42 +07:00
K900
02357adddd
Merge pull request #274409 from K900/unblock-channels
Unblock channels
2023-12-15 13:23:40 +03:00
Janne Heß
39bbee99ff
Merge pull request #274262 from NetaliDev/zammad-update
zammad: 6.1.0 -> 6.2.0
2023-12-15 10:59:17 +01:00
K900
1950eec4aa nixos/ldso: remove string context from linker soname
Unbreaks installer tests that otherwise start depending on i686-glibc
2023-12-15 12:39:26 +03:00
K900
7e3d335152 nixos/tests/containers-imperative: download more RAM 2023-12-15 12:38:08 +03:00
Maximilian Bosch
00e923cdc1
Merge pull request #274275 from Ma27/hardened-kernel-updates
hardened kernel: test 6.6 & remove obsolete 4.14 from patches.json
2023-12-15 09:42:10 +01: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
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
968905ab76
nixos/caddy: also increase socket send buffer size as recommended by upstream
this patch adjusts the `boot.kernel.sysctl."net.core.wmem_max"` to match the
value suggested in the quic-go wiki, just as `"net.core.wmem_max"`.

see fdfdc5df21
see https://github.com/quic-go/quic-go/issues/3923
2023-12-15 04:43:57 +01: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
Weijia Wang
7e0d6f6d6d
Merge pull request #274315 from emilylange/fix-nixos-node-red
nixos/node-red: fix `cfg.package` default value
2023-12-15 02:13:01 +01:00
Thomas Gerbet
a9da4c2260
Merge pull request #257504 from SuperSandro2000/postgres-doc
nixos/postgresql: point doc link to current like all others
2023-12-15 00:43:13 +01:00
Luflosi
60781d9b2d
nixos/tests/kubo: test socket activation for the Gateway
Add a new test to check that accessing the Gateway socket also starts the daemon via socket activation.
2023-12-14 23:19:34 +01:00
Luflosi
82c73a8d72
nixos/tests/kubo: disable broken FUSE test
The FUSE functionality is completely broken in Kubo v0.24.0.
See https://github.com/ipfs/kubo/issues/10242.
2023-12-14 23:19:33 +01:00
emilylange
22bbd1834e
nixos/node-red: fix cfg.package default value
This fixes the following eval error:

```
error: nodePackages.node-red cannot be found in pkgs
```

when having `services.node-red.enable = true;` without specifying
`services.node-red.package`, just like the nixos VM test.

Follow-up of f509382c11, which attempted
to fix this as well.

Breakage introduced in 0a37316d6c.
2023-12-14 23:19:25 +01:00
Ashish SHUKLA
086604334a drbd: fix path to drbdadm
props: @cody4k for the fix

Fixes #268172
2023-12-15 01:35:02 +05:30
Silvan Mosberger
b57018f623
Merge pull request #274273 from Ma27/include-rl2405
nixos/doc: include section for 24.05
2023-12-14 20:51:41 +01:00
Maximilian Bosch
aa19ae19c9
nixos/tests/kernel-generic: test hardened 6.6 2023-12-14 19:30:51 +01: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
Florian Klink
fe446f8bb4 nixos/udev: allow /bin/sh in udev rules
Using `/bin/sh` in udev rules is fine (as it's guaranteed to point to a
(bash) shell on NixOS), and actually is better than hardcoding absolute
paths, at least in cases where these rules are also added to the
(systemd-based) initrd (via boot.initrd.services.udev.rules).

To allow this, we need to update the check routine that assembles the
list of files needing fixup, to explicitly exclude `/bin/sh` occurences.

To do this, we convert the pattern to a PCRE regex (which requires "/"
to be escaped), and add `(?!/bin/sh\b)` as a negative lookahead.

This subsequently allows udev rules to (start using) `/bin/sh` again, so
they'll work in-initrd.
2023-12-14 19:14:13 +02:00
netali
6fe98c3cc8
nixos/tests/zammad: set memory limit to 2048 MB
It seems like Zammad and the postgreSQL need more then 1 GB memory after
the update to Zammad 6.2.0. So this commit sets the memory limit to 2 GB.
2023-12-14 18:03:22 +01:00
Maximilian Bosch
bec9edfd20
nixos/doc: mention nc28 2023-12-14 17:44:41 +01:00
Maximilian Bosch
f718012d92
nixos/nextcloud: updates for nc28
* Always use PHP 8.2: at the time of writing, Nextcloud also suggests to
  use 8.2 rather than 8.3 in the manual for v28.

  One contributing factor is probably that all plugins need new releases
  to declare PHP 8.3 support.

* Fix upgradeWarning for installing v27 now that v28 is out.

* Drop upgrade warning for v24. This one is EOL for quite a while
  already, so right now everybody should've switched (or carefully
  studied the release notes in case they were upgrading from <23.05) and
  we can clean up the module a little bit.

  v25 was dropped not so long ago, so if it's still referenced (because
  somebody didn't declare `services.nextcloud.package` and has
  `system.stateVersion = "22.11";`) it's appropriate to still give a
  specialized error.
2023-12-14 17:32:55 +01:00
Florian Klink
4b9c610ec1
Merge pull request #274236 from flokli/udev-path-default-option
nixos/udev: update defaultText for services.udev.path
2023-12-14 18:14:02 +02:00
Florian Klink
cb0fb74a2b nixos/udev: update description for services.udev.path
services.udev.path already contains some defaults, these are however
defined in the module implementation, not options.

Update the description to make this more clear.
2023-12-14 18:09:54 +02:00
Maximilian Bosch
3a360cf8a1
Merge pull request #274088 from NickCao/synapse
treewide: replace references to matrix-org/synapse with element-hq/synapse
2023-12-14 17:00:58 +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
Linus Heckemann
4f5aa65af5
Merge pull request #270444 from NukaDuka/cephfs-mount-fix
ceph: use absolute binary paths instead of relative paths
2023-12-14 14:12:28 +01:00
Linus Heckemann
1f42f70866
Merge pull request #270523 from m-bdf/river-xdg-portal-config
nixos/river: add xdg.portal.config
2023-12-14 14:07:08 +01:00
Linus Heckemann
feed24c54b
Merge pull request #270704 from Avaq/avaq/vdirsync-fix-statuspath
nixos/vdirsyncer: fix config.statusPath option
2023-12-14 13:56:34 +01:00
Lassulus
091033d6c6
Merge pull request #274013 from philiptaron/fixing-things
nixos/jigasi: update to use literalExpression
2023-12-14 12:53:10 +01:00
Gabriel Arazas
a73ae4bf9f
nixos/guix: add Guix home support 2023-12-14 17:41:22 +08:00
tv
4fc44b7ddf nixos/qmk: ensure plugdev groups exists
QMK's udev rules are setting hidraw devices's group to plugdev.
2023-12-14 10:01:19 +01:00
SaltyKitkat
5e57448d4f systemd/oomd: add release note for the backward incompatibility 2023-12-14 16:38:29 +08:00
Jacek Galowicz
66ca9c90e2
Merge pull request #267937 from SomeoneSerge/fix/test-driver-activestate
nixos/lib/test-driver: make wait_for_unit ask for ActiveState only
2023-12-14 06:55:06 +01:00
Alyssa Ross
59dc10b5a6 nixos/users-groups: fix confusing error message
If we include users with unset groups, we get this very confusing
message, with invalid Nix code:

       - The following users have a primary group that is undefined: qyliss
       Hint: Add this to your NixOS configuration:
         users.groups. = {};

We don't need to include such users in this check, since they'll be
caught anyway by this one:

       - users.users.qyliss.group is unset. This used to default to
       nogroup, but this is unsafe. For example you can create a group
       for this user with:
       users.users.qyliss.group = "qyliss";
       users.groups.qyliss = {};
2023-12-14 02:08:16 +01:00
Robert Schütz
f6ea3f91b5 nextcloud28: init at 28.0.0 2023-12-13 15:57:33 -08:00
Nick Cao
ee4176d325
nixos/matrix-synapse: update broken link to redis related docs 2023-12-13 18:02:47 -05:00
Nick Cao
3d7e5f4f26
nixos/matrix-synapse: replace references to matrix-org/synapse with element-hq/synapse 2023-12-13 17:50:37 -05:00
Morgan Jones
49ebc3878e
nixos/nebula: tests: revert wait_for_unit 2023-12-13 14:50:03 -08:00
Janik
27bcbd780f
Merge pull request #273834 from ajs124/restic-wrappers-append-path
nixos/restic: append PATH in wrappers instead of overwriting
2023-12-13 23:15:50 +01: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
Janne Heß
6ad3977ec9
Merge pull request #253184 from tilpner/prometheus-headers
nixos/prometheus: add remote{Read, Write}.headers options
2023-12-13 21:53:52 +01:00
Mihai Fufezan
79ddf33f84 nixos/hyprland: remove enableNvidiaPatches option
Hyprland now works on Nvidia without patching.
2023-12-13 21:16:16 +01:00
Weijia Wang
09beff8fb5
Merge pull request #273698 from foo-dogsquared/fix-guix-gc-service
nixos/guix: fix GC service
2023-12-13 17:43:44 +01:00
Philip Taron
36ac922271
nixos/jigasi: update to use literalExpression
I saw this trace when building my system configuration this morning:

```
lazy-options.json> trace: warning: literalExample is deprecated, use literalExpression instead, or use literalMD for a non-Nix description.
```

This warning was introduced in https://github.com/NixOS/nixpkgs/pull/237557.

The option this commit changes was introduced in https://github.com/NixOS/nixpkgs/pull/137003.
2023-12-13 08:20:59 -08:00
ajs124
be0a6b0dd6 nixos/restic: append PATH in wrappers instead of overwriting
fixes "mount"
2023-12-13 16:24:50 +01:00
Nick Cao
6f78967190
Merge pull request #273951 from schnusch/nixos/tinyproxy
nixos/tinyproxy: fix services.tinyproxy.package
2023-12-13 09:41:21 -05:00
Nick Cao
223b0a4fd7
Merge pull request #273878 from numinit/nebula-startup-race
nixos/nebula: wait for start notification to prevent startup race
2023-12-13 09:16:30 -05:00
Gabriel Arazas
9c423e191f nixos/guix: add test for GC service 2023-12-13 14:27:08 +01:00
Florian Klink
ec836d5ff3
Merge pull request #272679 from flokli/jenkins-statedir
nixos/jenkins: set StateDirectory if home is /var/lib/jenkins
2023-12-13 15:16:13 +02:00
Florian Klink
70808d0217 nixos/jenkins: set StateDirectory if home is /var/lib/jenkins
This will cause systemd to chown /var/lib/jenkins to the user that
the jenkins systemd service runs as, fixing permission issues when
mounting /var/lib/jenkins from another data volume.

It uses the same logic that garage is using, too, checking for the
prefix.
2023-12-13 15:15:50 +02:00
schnusch
1cf853b9de nixos/tinyproxy: fix services.tinyproxy.package 2023-12-13 11:50:27 +01:00
SaltyKitkat
679a417a7a Declare removed option with mkRemovedOptionModule 2023-12-13 16:43:34 +08:00
SaltyKitkat
b2d6b30648 update oomd.nix
due to 7665e1796f
and 806c95e1c7
2023-12-13 16:35:39 +08: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
zowoq
da353681bd telegraf: 1.28.5 -> 1.29.0
Diff: https://github.com/influxdata/telegraf/compare/v1.28.5...v1.29.0

Changelog: https://github.com/influxdata/telegraf/blob/v1.29.0/CHANGELOG.md
2023-12-13 08:49:02 +01:00
Morgan Jones
5fd6ebdbef
nixos/nebula: wait for start notification to prevent startup race 2023-12-12 19:25:38 -08:00
Kira Bruneau
8ee593f8d9
Merge pull request #273693 from lopsided98/syncthing-database-dir
nixos/syncthing: add `databaseDir` option
2023-12-12 20:55:34 -05: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
nicoo
fb85785231 nixos/kubernetes: certmgr-selfsigned is now an alias 2023-12-12 21:17:24 +00:00
Bobby Rong
af99a04cd4
Merge pull request #273584 from bobby285271/upd/flatpak
flatpak: 1.14.4 → 1.14.5
2023-12-12 23:49:01 +08: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
Lin Yinfeng
b21e84ea8d
nixos/iproute2: use rt_tables.d to avoid IFD 2023-12-12 23:31:25 +08:00
Ryan Lahfa
3bb93fb2cd
Merge pull request #271506 from Misterio77/nginx-redirect-status-code 2023-12-12 14:05:33 +01:00
Gabriel Arazas
5fb40a5816
nixos/guix: remove Service.MemoryDenyWriteExecute for GC service
Guile 3 uses JIT needing write and execute permissions.
2023-12-12 10:19:37 +08:00
Ben Wolsieffer
a514d8c148 systemd-stage-1: allow non-existent /lib/firmware
Since 1557027, makeModulesClosure doesn't create a lib/firmware
directory if there is no firmware in the initramfs. If this happens,
systemd-stage-1 fails to build.

/lib only contains /lib/modules and /lib/firmware, both of while are
from modulesClosure. Therefore, we can just add the entirety of
${modulesClosure}/lib to the initramfs to allow for the possibility that
lib/firmware doesn't exist. This also brings systemd-stage-1 in line
with the traditional stage-1.
2023-12-11 21:00:08 -05:00
Ben Wolsieffer
ded5462398 nixos/syncthing: add databaseDir option
#264753 mistakenly used the dataDir option to set the -data argument.
This broke existing configurations because -data used to be set to
configDir (implicitly, using the -home option, which is equivalent to
setting -config and -data to the same value).

Fix this by introducing a new databaseDir option sets -data and defaults
to configDir. This maintains the existing behavior by default while
still allowing users to specify separate config and database
directories.
2023-12-11 20:52:37 -05:00
Martin Weinelt
a0f49243e4
Merge pull request #273510 from rnhmjoj/pr-fix-ping
nixos/networking-interfaces: fix rootless ping
2023-12-11 20:47:49 +01:00
Vladimír Čunát
120a26f8ce
Merge #271377: staging-next 2023-12-01 2023-12-11 17:06:16 +01:00
Bobby Rong
9ed63709bc
flatpak: 1.14.4 → 1.14.5
https://github.com/flatpak/flatpak/compare/1.14.4...1.14.5

This contains build fix for AppStream 1.0.
2023-12-11 23:58:03 +08: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
SharzyL
497903264e
nixos/firejail: fix typo 2023-12-11 21:47:43 +08:00
Kartik Gokte
41b27d7f4b nixosTests.ceph-single-node: remove dashboard check
Due to an [issue](https://www.spinics.net/lists/ceph-users/msg77812.html) with the cryptography python library, Ceph Dashboard and other mgr modules are currently broken, which will cause this test to always fail. Removing the check resolves this issue, and brings the test in line wit^Cthe other Ceph tests, which do not contain the dashboard check.
2023-12-11 19:11:20 +05:30
Sandro Jäckel
cbc8f4164b
nixos/pulseaudio: don't create config file or enable avahi when pulse is disabled 2023-12-11 14:38:18 +01:00
rnhmjoj
cdc24ab409
nixos/networking-interfaces: fix rootless ping
In 759ec111 the ping setuid wrapper was removed in favour of giving
permissions to perform ICMP echo requests to all users.
The problem is that the systemd file that was supposed to change the
`net.ipv4.ping_group_range` sysctl is not always installed, specifically
only if systemd.coredump.enable.
In that case the range is "0 1", which is effectively restricts ping to
only root.

This change explicitely sets the range to "0 2^31-1", as systemd does.
2023-12-11 13:22:26 +01:00
github-actions[bot]
6ac7b9234a
Merge master into staging-next 2023-12-11 12:01:23 +00:00
Jeff Huffman
0863f6d2da
nixos/stub-ld: init module 2023-12-11 05:47:23 -05:00
pennae
90c53f5341
Merge pull request #270224 from SuperSandro2000/patch-2
nixos/acme: add syntax highlighting to code blocks
2023-12-11 09:03:32 +01:00
Florian Klink
1c09cb43ce nixos/avahi: rename remaining config options
services.avahi.nssmdns got split into services.avahi.nssmdns{4,6},
nothing should access the old alias anymore so there's no eval warnings.

Reported in https://github.com/NixOS/nixpkgs/pull/258424#issuecomment-1849428869
2023-12-11 09:36:15 +02:00
github-actions[bot]
b826485d29
Merge master into staging-next 2023-12-11 00:02:20 +00:00
Julien Malka
a989353ef2 nixos/tests/systemd-boot: change garbage-collect-entry test name
The test was improperly named in e63f3c012b
2023-12-10 23:57:28 +00:00
Jonathan Davies
c57a4037f5 nixos/thanos: Changed query.replica-labels to a list parameter.
Fixes: #273432
2023-12-10 23:55:15 +00:00
Ivan Petkov
fc004b09e5
nixos/ups: install udev rules for nut
This is necessary to allow the usbhid driver to successfully send
commands to the attached UPS.

It is possible to work around this by explicitly using setting the user
flag (e.g. `upsdrvctl -u root shutdown`), though it is much simpler to
install the udev rules rather than patch things further.
2023-12-10 11:23:37 -08:00
Sandro
5a64fb2799
nixos/acme: add syntax highlighting to code blocks 2023-12-10 19:59:22 +01:00
Ryan Lahfa
c36344b125
Merge pull request #272920 from SuperSandro2000/nginx-return 2023-12-10 19:38:18 +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
Nick Cao
d374eafed6
Merge pull request #273224 from s-sinnlos/ddclient-docs-fix
nixos/ddclient: Update link to protocols documentation
2023-12-10 11:48:54 -05:00
Nick Cao
d8c2a3967b
Merge pull request #273273 from numinit/nebula-test-improvement
nixos/nebula: fix possibly flaky tests
2023-12-10 11:45:17 -05:00
Nick Cao
38304747b0
Merge pull request #272314 from NickCao/ppd
nixos/power-profiles-daemon: add package option
2023-12-10 11:34:46 -05:00
Martin Weinelt
ebfca42b8b
Merge pull request #272576 from NixOS/home-assistant
home-assistant: 2023.11.3 -> 2023.12.0
2023-12-10 14:51:43 +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
Robert Hensing
2339744b73
Merge pull request #242539 from hercules-ci/nixos-rebuild-repl
nixos-rebuild: Add `nixos-rebuild repl`
2023-12-10 14:30:24 +01:00
Martin Weinelt
b55c45c43a
Merge pull request #273324 from azuwis/hass-lovelace
nixos/home-automation: really fix lovelace card entrypoint
2023-12-10 13:55:43 +01:00
Felix Buehler
9537527389 nixos/installation-device: remove warning about mdadm 2023-12-10 13:06:25 +01:00
github-actions[bot]
958e403a78
Merge master into staging-next 2023-12-10 12:01:18 +00:00
Maximilian Bosch
9f9de7c5e3
Merge pull request #272919 from SuperSandro2000/nextcloud
nixos/nextcloud: allow phpOptions to contain ints
2023-12-10 12:49:52 +01:00
Zhong Jianxin
b097e95193 nixos/home-automation: really fix lovelace card entrypoint 2023-12-10 19:12:55 +08:00
Sandro Jäckel
acb20c175f nixos/no-x-libs: add mupdf 2023-12-10 09:12:47 +00:00
Kerstin Humm
60274ea008 Revert "nixos/mobilizon: fix integration test by using postgresql_14"
This reverts commit 80ba58361d.
2023-12-10 07:23:16 +00:00
Niklas Hambüchen
d65c4445a9 Add hardware.sane.backends-package option.
Allows overriding `sane-backends` drivers without rebuilding many packages.
2023-12-10 07:42:17 +01: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
Morgan Jones
ce5124df92
nixos/nebula: fix possibly flaky tests 2023-12-09 20:35:09 -08:00
Anderson Torres
d7605f18a9 nixos.shibboleth-sp: remove jammerful from meta.maintainers 2023-12-09 22:39:10 -03:00
s-sinnlos
08c9bcc627 nixos/ddclient: Update link to protocols documentation
Link to maintained docs on https://ddclient.net/
2023-12-10 00:38:57 +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
github-actions[bot]
7c846b760d
Merge master into staging-next 2023-12-09 18:00:56 +00:00
Martin Weinelt
04c2893d58
nixos/home-assistant: fix broken reference in option example 2023-12-09 17:51:13 +01:00
Martin Weinelt
4324d082b2
nixos/tests/home-assistant: check for lovelace resources in config
This was recently fixed, but the test was not updated.
2023-12-09 17:51:13 +01:00
Martin Weinelt
0645ff3b62
nixos/home-assistant: update bluetooth components
eq3btsmart was removed in 2023.12.0.
2023-12-09 17:51:12 +01:00
Weijia Wang
9ee819e1d5
Merge pull request #273102 from rvl/nixos-tests-maintainers
nixos/tests: Remove self from maintainers
2023-12-09 16:56:50 +01:00
Maximilian Bosch
2ee3ddef8c
Merge pull request #266935 from s-sinnlos/nextcloud26-ocm-dir-fix
nixos/nextcloud: missing ocm-dir applys also from 26.0.8 onward
2023-12-09 14:00:59 +01:00
Ryan Lahfa
b69fbe2670
Merge pull request #272996 from RaitoBezarius/netdata-improvements 2023-12-09 14:00:48 +01:00
Maximilian Bosch
06216a9168
Merge pull request #272564 from SuperSandro2000/grafana
nixos/grafana: create plugins directory in provisioning, fix deprecation warning
2023-12-09 13:51:55 +01:00
Jonas Heinrich
1440b865c0 nixos/btrbk: Add required stream_compress packages 2023-12-09 13:03:46 +01:00
Rodney Lorrimar
32ee8b4c77
nixos/tests/mysql-backup: Remove self from maintainers 2023-12-09 17:46:09 +08:00
Rodney Lorrimar
c5710ce274
nixos/tests/mongodb: Remove self from maintainers 2023-12-09 17:45:33 +08:00
github-actions[bot]
050990f547
Merge master into staging-next 2023-12-09 06:00:55 +00:00
Peder Bergebakken Sundt
e43bbcfaec
Merge pull request #272557 from ambroisie/update-tandoor-recipes
tandoor-recipes: 1.5.6 -> 1.5.10
2023-12-09 03:12:36 +01:00
Lassulus
b8ca5f4f46
Merge pull request #137003 from yayayayaka/add-pkg-jigasi
jigasi: init at 1.1-311-g3de47d0 + module
2023-12-09 02:28:50 +01:00
Raito Bezarius
db1e415c07 nixos/netdata: ensure analytics reporting is truly opted-out
Fixes 260035.
2023-12-09 00:47:56 +01:00
Martin Weinelt
3590a44b06
Merge remote-tracking branch 'origin/master' into staging-next 2023-12-09 00:34:42 +01:00
Silvan Mosberger
bf67c02b1b
Merge pull request #272744 from hercules-ci/lib-lists-sortOn
`lib.lists.sortOn`: init
2023-12-08 23:11:05 +01:00
Robert Hensing
7438f4e0de nixos/btrbk: Optimize sort
This avoids computing the prio more than necessary.
The test evaluates to the same derivation hash.
2023-12-08 22:15:30 +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
github-actions[bot]
5f3708016c
Merge master into staging-next 2023-12-08 18:00:53 +00:00
Luflosi
c4cf844566
nixos/tests/ft2-clone: cleanup
- Remove unused `config` argument
- Don't enable the xserver again, since the import `./common/x11.nix` already takes care of that
- Remove an empty line at the end
2023-12-08 18:27:39 +01:00
Maciej Krüger
7a7925e722
Merge pull request #270034 from ckiee/transmission-watchdir-typo 2023-12-08 18:23:00 +01:00
Maciej Krüger
a2595d975f
Merge pull request #272508 from jacobgreenleaf/jg-teamspeak3-protos 2023-12-08 18:17:37 +01:00
Nick Cao
d79786694d
Merge pull request #270355 from sinanmohd/iwd-resolvconf
nixos/iwd: fix broken dhcp dns configuration
2023-12-08 10:58:25 -05:00
Weijia Wang
6f6d03b284
Merge pull request #272875 from chayleaf/maubot
nixos/maubot: fix eval with default config
2023-12-08 16:23:20 +01:00
Sandro Jäckel
78541e68eb
nixos/nginx: allow return to be an int 2023-12-08 15:04:27 +01:00
Sandro Jäckel
eaa581b5c3
nixos/nextcloud: allow phpOptions to contain ints 2023-12-08 15:03:09 +01:00
Sandro Jäckel
824e3c17a6
nixos/doc: add changelog entry for postgres extraPlugins type change 2023-12-08 14:58:19 +01:00
Sandro Jäckel
3bb72ed9fd
treewide: fix services.postgresql.extraPlugins usage 2023-12-08 14:58:18 +01:00
Sandro Jäckel
4fe5824fc7
nixos/postgresql: take extraPlugins packageset from package option
This allows to reuse the extraPlugins option in other context's for
example an upgrade script.
2023-12-08 14:58:18 +01:00
sinanmohd
d173469d3b nixos/iwd: fix broken dhcp dns configuration 2023-12-08 18:00:29 +05:30
chayleaf
57e3ca7057
nixos/maubot: fix eval with default config 2023-12-08 17:35:11 +07:00
Gabriel Arazas
85fcb9b4ef
nixos/guix: fix user activation script 2023-12-08 17:56:54 +08:00
github-actions[bot]
728281e1ea
Merge master into staging-next 2023-12-08 00:02:27 +00:00
Martin Weinelt
7b8be9c335 nixos/wyoming/{faster-whisper,piper}: hook up enable option 2023-12-07 22:27:15 +01:00
Bruno BELANYI
d23f965f8b nixos/tandoor-recipes: fix deprecated config key
See the 1.5.10 release notes [1].

[1]: https://github.com/TandoorRecipes/recipes/releases/tag/1.5.10
2023-12-07 19:12:15 +00:00
Paul Meyer
ef54509303 k9s: 0.28.2 -> 0.29.0 2023-12-07 19:27:45 +01:00
github-actions[bot]
40f2209184
Merge master into staging-next 2023-12-07 18:00:57 +00:00
Weijia Wang
9f1f87b612
Revert "wordpress: fixed installing of languages" 2023-12-07 18:27:40 +01:00
Yaya
767e3dab38 nixos/jitsi-meet: Integrate jigasi
This commit introduces the possibility to optionally enable the Jitsi
Gateway to SIP (jigasi) module. SIP credentials can be defined in
`services.jigasi.environmentFile`.
2023-12-07 13:36:53 +00:00
Yaya
c84f3a33b4 nixos/jigasi: init 2023-12-07 13:36:53 +00:00
Luflosi
c351a84eec
nixos/tests/installer: test /boot on ZFS
Let's test / on ZFS and /boot on ZFS in separate tests since the GRUB integration for ZFS seems to be not very well maintained.
If the test breaks in the future it's easier to figure out that ZFS on /boot is at fault and either fix the issue or disable the test.
The new test creates a ZFS pool where all features not compatible with GRUB2 are disabled. The dataset is then mounted on /boot and we check that the installer correctly generates a bootable configuration.
Try to use as many ZFS features as possible to verify that GRUB can handle them.
2023-12-07 13:17:49 +01:00
github-actions[bot]
860e5725bd
Merge master into staging-next 2023-12-07 12:01:24 +00:00
Kim Lindberger
9ec830423e
Merge pull request #267906 from talyz/keycloak-hostname-url
nixos/keycloak: Allow setting `hostname-url`
2023-12-07 12:07:49 +01:00
Peder Bergebakken Sundt
b8c62ab390
Merge pull request #271289 from Luflosi/teeworlds-module-reduce-closure
nixos/teeworlds: reduce closure size
2023-12-07 10:19:11 +01:00
Peder Bergebakken Sundt
7a8ee53fdb
Merge pull request #269908 from pbsds/fix-ejabberd-1700922829
nixos/ejabberd: ensure erlang cookie is made
2023-12-07 10:18:37 +01:00
Peder Bergebakken Sundt
5be3695680
Merge pull request #268497 from katexochen/greetd/tuigreet-dir
greetd: create cache dir for tuigreet
2023-12-07 10:04:09 +01:00
Florian Klink
4db2e0cc80
Merge pull request #272542 from Sohalt/caddy-config-file
nixos/caddy: use caddyfile adapter by default with explicit configFile
2023-12-07 09:07:35 +02:00
github-actions[bot]
32d842483f
Merge master into staging-next 2023-12-07 06:01:00 +00:00
Peder Bergebakken Sundt
d41449afb3
Merge pull request #256737 from illustris/spark
spark: init 3.5.0, 3.4.0->3.4.2, 3.3.2->3.3.3
2023-12-07 04:24:16 +01:00
github-actions[bot]
fd7a8aedb0
Merge master into staging-next 2023-12-07 00:02:20 +00:00
zowoq
18460b4820 nixos/buildbot: only run nixosTest on x86_64-linux
Test has been broken for a while on aarch64-linux.
2023-12-06 23:45:45 +01:00
Sandro Jäckel
8c972ce2c0
nixos/grafana: fix deprecation warning by using grafana server instead of grafana-server
Deprecation warning: The standalone 'grafana-server' program is deprecated and will be removed in the future. Please update all uses of 'grafana-server' to 'grafana server'
2023-12-06 23:40:30 +01:00
Sandro Jäckel
cff247a127
nixos/grafana: create plugins directory in provisioning
The error message was:
msg="Failed to read plugin provisioning files from directory" path=/nix/store/gs2cy8n6ndsa1f7msf7ndl8f85xl1pzg-grafana-provisioning/plugins
 error="open /nix/store/gs2cy8n6ndsa1f7msf7ndl8f85xl1pzg-grafana-provisioning/plugins: no such file or directory"
2023-12-06 23:40:29 +01:00
h7x4
5ec449a6be nixos/borgbackup: add listOf str types to extraArgs 2023-12-06 23:12:21 +01:00
Sandro Jäckel
801ecec785
nixos/no-x-libs: add ghostscript 2023-12-06 22:58:46 +01:00
sohalt
3c6b3d71fa nixos/caddy: Use caddyfile adapter by default when explicitly specifying configFile 2023-12-06 21:57:21 +01:00
phaer
c40f706dc4 nixos/nginx/tailscale-auth: init module 2023-12-06 20:57:38 +01:00
Vincent Haupert
44522d8478 nixos/vector: align service restart policy with upstream
Restart vector 5 times within 10s on exit. The upstream systemd unit
uses the same values.
2023-12-06 19:15:11 +00:00
Adam C. Stephens
b1f7f1ce6d
Merge pull request #271689 from adamcstephens/lxc/team
treewide: init lxc team and take ownership of components
2023-12-06 13:55:45 -05: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
Jacob Greenleaf
ed67e22139 nixos/teamspeak3: SSH and HTTP ip+port options
ServerQuery actually listens on three separate addresses each
corresponding to its own protocol (raw/telnet, ssh, and http). By only
setting `query_addr` we only update what IP we listen on for the raw
protocol, not ssh and http protocols which end up listening on the
default wildcard address.

This change simply makes it so that setting `queryIP` sets the IP for
all three protocols by setting each corresponding option (`query_ip`,
`query_ssh_ip` and `query_http_ip`).
2023-12-06 08:31:38 -08:00
github-actions[bot]
f48be2ac66
Merge master into staging-next 2023-12-06 12:01:16 +00:00
Jörg Thalheim
224537581a nixos/harmonia: test if extra-allowed-users works 2023-12-06 12:56:35 +01:00
Jörg Thalheim
bd88398369 nixos/harmonia: allocate user
DynamicUser seem to broken in combination with the nix-daemon.
2023-12-06 12:56:35 +01:00
github-actions[bot]
035a649a67
Merge master into staging-next 2023-12-06 06:01:30 +00:00
Martin Weinelt
d809a6f9c3
nixos/home-automation: fix lovelace card entrypoint
Only append the .js extension to the card pname, not to the specified
entrypoint.
2023-12-06 04:35:35 +01:00
Martin Weinelt
17c08296e3
Merge pull request #269940 from mweinelt/home-assistant-errata
Home Assistant Custom Component Errata
2023-12-06 04:11:36 +01:00
Martin Weinelt
b908dc8654
Merge pull request #271785 from SuperSandro2000/hass-custom-lovelace
nixos/home-assistant: fix custom lovelace module loading
2023-12-06 04:10:34 +01:00
Martin Weinelt
01616e5331
buildHomeAssistantComponent: migrate from pname to owner/domain
Also make the attribute name to match the domain name.

This is more in line with the home-assistant custom component ecosystem
and allows additional validation between the derivation and the manifest.

Also, at a later time, this will enable us to check for domain conflicts
at eval time.
2023-12-06 03:55:33 +01:00
github-actions[bot]
2622221e95
Merge master into staging-next 2023-12-06 00:02:22 +00:00
maxine
ad7955279d
Merge pull request #270011 from christoph-heiss/networkd-fix-wgpeer-doc
nixos/networkd: fix manpage for `WireGuardPeer` config
2023-12-06 00:33:05 +01:00
happysalada
21d23dddd8 nixos/windmill: init module 2023-12-05 22:54:18 +00:00
happysalada
93c790aef3 nixos/clamav: add scanner service 2023-12-05 22:53:35 +00:00
happysalada
6b014e92de nixos/clamav: fix /run/clamav being removed 2023-12-05 22:53:35 +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
Nick Cao
e9f0a62ef5
nixos/power-profiles-daemon: add package option 2023-12-05 13:21:32 -05:00
Nick Cao
0588b4bda0
nixos/power-profiles-daemon: drop with lib 2023-12-05 13:21:30 -05:00
github-actions[bot]
9497a77fed
Merge master into staging-next 2023-12-05 18:00:57 +00:00
Robert Hensing
4d1f62836e scripts/create-amis.sh: Update region list 2023-12-05 18:30:52 +01:00
Thiago Kenji Okada
bed09b735f
Merge pull request #226923 from Drakonis/prometheus/agent-mode
nixos/prometheus: add `enableAgentMode` option
2023-12-05 17:17:37 +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
Sandro
d011c93f7d
nixos/hound: adopt, rework, cleanup (#268983)
- add me as maintainer
- remove hardcoded user id
- validate syntax of config file
- remove superfluous option extraGroups
- use mkPackageOptionMD
2023-12-05 15:59:26 +01:00
Victor Hugo Aguiar Pacce
5c6c35d0f8 nixos/prometheus: add enableAgentMode option
Required for running a prometheus service under agent mode

Signed-off-by: Victor Hugo Aguiar Pacce <victorhugoaguiarpacce@gmail.com>
2023-12-05 11:24:04 -03:00
Robert Hensing
708e7ccb37
Merge pull request #271423 from hercules-ci/nixos-nix.nix-nix-config-show
nixos/nix.nix: Support new Nix 2.20 command syntax
2023-12-05 14:47:20 +01:00
github-actions[bot]
4d8ab2a703
Merge master into staging-next 2023-12-05 12:01:22 +00:00
Pol Dellaiera
d79be73295
Merge pull request #271628 from scvalex/kubernetes-flannel-dont-open-ports
kubernetes: don't always open flannel fw ports
2023-12-05 12:29:21 +01:00
Janik
7703f36fd1
Merge pull request #269469 from NetaliDev/zammad-update 2023-12-05 09:29:51 +01: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
h7x4
e6a98c8254
nixos/mattermost: fix mkPackageOption default name 2023-12-04 23:12:25 +01:00
netali
531fa59187
nixos/tests/zammad: fix test 2023-12-04 23:10:08 +01:00
netali
a1f6e1d6f1
nixos/zammad: update for zammad 6.1 2023-12-04 23:10:07 +01:00
K900
3c1ad28f89
Merge pull request #266234 from SuperSamus/plasma-dconf-glib
nixos/plasma5: enable dconf by default
2023-12-05 00:23:29 +03:00
Ryan Lahfa
0275f6fc9e
Merge pull request #272061 from JulienMalka/clevis-fix-zfs-evaluation 2023-12-04 19:36:39 +01:00
Julien Malka
28608b0448 nixos/clevis: skip filesystem with null devices 2023-12-04 15:21:16 +00:00
Julien Malka
9b6b934949 nixos/clevis: guard zfs code behind config.clevis.boot.initrd.enable 2023-12-04 15:09:49 +00:00
Adam Stephens
27064dd722
nixos/lxc: remove with lib 2023-12-04 10:06:54 -05:00
Adam Stephens
ccb7b8e309
nixos/lxcfs: remove with lib 2023-12-04 10:06:52 -05:00
Adam Stephens
6765aac154
treewide/lxc: set lxc team as maintainer 2023-12-04 10:06:50 -05: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
Nick Cao
c0443ea94c
Merge pull request #271869 from wentasah/redmine-assertions
nixos/redmine: Fix database assertions
2023-12-04 08:56:45 -05:00
John Garcia
f509382c11 node-red_service: correct package to nodePackages.node-red 2023-12-04 11:53:23 +00:00
K900
f0b6f1fb27
Merge pull request #271922 from puetzk/qt6-qtmultimedia-ffmpeg
qt6.qtmultimedia: Enable ffmpeg/VAAPI backend
2023-12-04 10:07:02 +03:00
zowoq
34deb05e55 nixos/buildbot: fix worker package 2023-12-04 13:55:09 +10: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
Peder Bergebakken Sundt
58ffd55cde
Merge pull request #249777 from LunNova/lunnova/input-remapper-2.x
input-remapper: 1.5.0 -> 2.0.1
2023-12-04 01:23:30 +01:00
Peder Bergebakken Sundt
d2852f5af0
Merge pull request #238711 from moni-dz/contour
contour: 0.3.1.200 -> 0.3.12.262
2023-12-04 00:10:19 +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
Atemu
fd7f5fd9a2
Merge pull request #269475 from jonringer/addhardwarerunpath-mini
addDriverRunpath: init
2023-12-03 22:27:36 +01:00
Jeff Huffman
bf6f0d3cf4
nixos/ldso: init module 2023-12-03 16:23:44 -05:00
Emily
a0ba4615da
Merge pull request #270467 from nalves599/269944-keepalived-firewall
nixos/keepalived: add openFirewall option
2023-12-03 20:37:09 +01:00
fortuneteller2k
1769cf416e contour: 0.3.1.200 -> 0.3.12.262
- use qt6 by default
  - codesign macOS bundle executable
  - install terminfo for Darwin
  - install shell completions for zsh and fish
2023-12-04 02:39:26 +08:00
Jonathan Ringer
05f1bc9654
nixos/manual: add entry for addDriverRunpath 2023-12-03 07:23:45 -08:00
Nick Cao
fba68401fb
Merge pull request #271835 from undefined-moe/patch-2
prometheus-mongodb-exporter: fix service ExecStart
2023-12-03 09:35:28 -05:00
Weijia Wang
d1fc3a5f9f
Merge pull request #253428 from Yarny0/tsm-freeform
nixos/tsm-client: migrate to freeform settings (RFC42)
2023-12-03 14:50:12 +01:00
Michal Sojka
8667baf161 nixos/redmine: Fix database assertions
Recent PR 266270[1] modified an assertion related to database settings
of the redmine service. There are two problems with that change:

1. Assert message was not updated to reflect the change in the assert
   condition.

2. The new condition applies only to postgresql, not the default
   mysql. Therefore, the assertion breaks existing mysql-based
   installations without any reason.

This commit fixes these by 1) reverting the modified assertion to the
previous value, making the message match the condition and 2) adding a
new assertion that applies only to postgresql.

[1]: https://github.com/NixOS/nixpkgs/pull/266270
2023-12-03 14:41:42 +01: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
Pol Dellaiera
9284581a09
Merge pull request #271376 from kallistoteles/thinkfan-service-restart
nixos/thinkfan: restart on failure
2023-12-03 12:47:01 +01:00
undefined
3c4370ca2f
prometheus-mongodb-exporter: fix service ExecStart 2023-12-03 17:54:21 +08:00
kalle
f1e6c6641e nixos/thinkfan: add setting
the thinkfan service failed from time to time on my t440s, so I added
restart on fail to the systemd service.
2023-12-03 08:45:03 +01:00