Commit Graph

37556 Commits

Author SHA1 Message Date
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
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
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
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
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