Commit Graph

32768 Commits

Author SHA1 Message Date
Ryan Lahfa
14577497e1
Merge pull request #223214 from Izorkin/update-zsh-hostname
nixos/zsh: allow fqdn hostname output
2023-04-15 22:23:31 +02:00
Ryan Lahfa
b914dffe7e
Merge pull request #224494 from LeSuisse/roundcube-php81
nixos/roundcube: use PHP 8.1
2023-04-15 22:12:31 +02:00
Ryan Lahfa
096ad89a8c
Merge pull request #222826 from Peter015/patch-1
regreet: run through dbus
2023-04-15 22:02:19 +02:00
John Ericson
0794f40589
Merge pull request #226288 from Luflosi/kubo-better-api-access
nixos/kubo: improve API access
2023-04-15 15:07:01 -04:00
happysalada
0cdd78126c qdrant: module increase limitnofile 2023-04-15 13:45:38 -04:00
Nick Cao
7a2fcddf52
Merge pull request #223730 from zendo/clash-verge-module
nixos/clash-verge: init module
2023-04-15 22:00:55 +08:00
Luflosi
f2be3ae30d
nixos/kubo: restrict access to the API to users in a group by default 2023-04-15 15:25:20 +02:00
Luflosi
7ceebbb35b
nixos/kubo: allow multiple API and Gateway addresses
The daemon allows specifying an array of multiaddrs for Addresses.API and Addresses.Gateway, so the NixOS module should allow that as well.
2023-04-15 15:25:06 +02:00
Luflosi
929a00bd84
nixos/kubo: give normal users access to the daemon by default
Fixes https://github.com/NixOS/nixpkgs/issues/223289.

This doesn't reduce the security in any way since it was already possible for normal users to do what I do here and create such a fake repo for themselves and set their $IPFS_PATH variable to it. It was and still is also possible to just use the --api CLI option.
This change just removes the manual setup that would otherwise be required.

We wouldn't need this workaround if https://github.com/ipfs/kubo/pull/9366 was merged but the fix seems to have been ignored upstream. Patching it ourselves seems like a bad idea since the patch has security implications.
2023-04-15 15:24:58 +02:00
Luflosi
409df93c01
nixos/tests/kubo: use subtests instead of comments
Specify the intent of parts of the tests by using `with subtest("...")` instead of a comment for more clarity.
2023-04-15 15:24:49 +02:00
Luflosi
bf97703f0e
nixos/tests/kubo: clean up code
- Use `runTest` instead of `handleTest`, which simplifies the code a little
- Use `lib.maintainers` instead of `pkgs.lib.maintainers`
- Use `ipfs add --quieter` instead of `ipfs add | awk '{ print $2 }'`
- Whitespace and comment changes
2023-04-15 15:24:43 +02:00
Luflosi
62bff9ab15
nixos/tests/kubo: add Luflosi as maintainer 2023-04-15 15:24:37 +02:00
Luflosi
8a9190bee7
nixos/doc/rl-2305: clean up Kubo notes
- Link to the `services.kubo.settings` option
- Fix an incorrect quote
2023-04-15 15:24:30 +02:00
Janne Heß
ee0bfeddf7
Merge pull request #226010 from helsinki-systems/drop/deprecated-ssh-files
nixos/openssh: Drop deprecated locations
2023-04-15 11:41:16 +02:00
adisbladis
4ab1021a1b
Merge pull request #213036 from SuperSandro2000/cri-o/update_storagedrivers
nixos/cri-o: add aufs, devmapper, and zfs to storageDrivers
2023-04-15 16:27:50 +12:00
Calum MacRae
7d03f1aa9f
nixos/cri-o: add aufs, devmapper, and zfs to storageDrivers
Update the storageDrivers option to align with the supported drivers, as listed here:
https://github.com/containers/storage/blob/master/docs/containers-storage.conf.5.md#storage-table
2023-04-15 01:15:46 +02:00
Alyssa Ross
3a776e1e30 nixosTests.cage: fix OCR properly
The underlying problem with OCR in this test has been that the only
font installed was DejaVu Sans, a proportional font, which xterm would
try to render as monospace.  This produced very broken looking text,
which the OCR understandably had trouble with.  With an actual
monospace font installed, there are no more problems and we don't need
the hacks.
2023-04-14 22:32:26 +00:00
Aidan Gauland
0135b7a556 nixos/peroxide: correct option doc
Correct the description for the option services.peroxide.enable.
2023-04-14 14:47:55 +02:00
Sandro
f9e70759cd
Merge pull request #213816 from karmanyaahm/karmanyaahm/nixos/kubo 2023-04-14 00:48:37 +02:00
Janne Heß
98c3d190b2
nixos/openssh: Drop deprecated locations
The changelog entry should give a good indication why I don't think this
is necessary anymore.
2023-04-13 20:31:18 +02:00
ajs124
6fc4e722c4 nixos/prometheus-smartctl-exporter: fix evaluation after adding cfg.extraFlags
was done in 3c61665b7f but does not evaluate
error: value is a string with context while a list was expected
2023-04-13 17:32:50 +02:00
Florian Klink
4496a91077
Merge pull request #225973 from IndeedNotJames/grafana-agent
grafana-agent: 0.30.2 -> 0.32.1, remove obsolete test fix; nixos/grafana-agent: use `lib.getExe`
2023-04-13 17:29:48 +02:00
Jonas Heinrich
86a685ceb1 nixos/maddy: Add option ensureCredentials 2023-04-13 09:36:54 -04:00
IndeedNotJames
845a6e9784
nixos/grafana-agent: use lib.getExe as binary names changed between updates
and `lib.getExe` allows a safe handling and potential backport of this.
But for that to work it would require 22.11 to set `pkgs.grafana-agent.meta.mainProgram = "agent"`

Relevant upstream release: https://github.com/grafana/agent/releases/tag/v0.31.0
2023-04-13 10:43:02 +02:00
Karmanyaah Malhotra
6086d85777 nixos/kubo: documentation suggestions
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-13 03:14:59 -05:00
Karmanyaah Malhotra
5fb09c9e3a nixos/kubo: Test Kubo restart after a crash
Move strip() to definition

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
2023-04-13 03:14:59 -05:00
Karmanyaah Malhotra
4bd622cd9d nixos/kubo: unmount on service stop
When kubo is force killed with `pkill -KILL ipfs` or by systemd-oomd,
it doesn't unmount /ipfs and /ipns. That prevents it
from starting up the next time. So, unmount on postStop.
2023-04-13 03:14:59 -05:00
Karmanyaah Malhotra
28949db47e nixos/kubo: reenable FUSE test with workaround
Update comment notice on broken fuse

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
2023-04-13 03:14:59 -05:00
Martin Weinelt
f0e4bd26bd
Merge pull request #225943 from jakubgs/smartctl-exporter/fix-extra-flags
nixos/prometheus-smartctl-exporter: support extraFlags
2023-04-13 07:37:28 +02:00
Jakub Sokołowski
3c61665b7f
nixos/prometheus-smartctl-exporter: support extraFlags
Seems to be ignored currently. Useful for `-verbose` flag.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-12 23:56:32 +02:00
Johan Thomsen
0b57240111 nixos/kubernetes: kubelet --container-runtime flag has been removed 2023-04-13 07:21:56 +10:00
Martin Weinelt
130be87c8d
Merge pull request #224549 from mweinelt/go-neb-unit-permissions
nixos/go-neb: Replace PermissionsStartOnly with executable prefix
2023-04-12 22:59:41 +02:00
Sandro
603320b64f
Merge pull request #204534 from SuperSandro2000/boot-tmp 2023-04-12 21:37:47 +02:00
Sandro
6152b09a6a
Merge pull request #225005 from erictapen/mastodon-sidekiq 2023-04-12 21:31:50 +02:00
Bobby Rong
d550ee0d43
Merge pull request #206173 from bobby285271/pantheon
pantheon.elementary-tasks: 6.3.0 -> 6.3.1
2023-04-12 22:14:27 +08:00
Bobby Rong
aacdc51e15
pantheon.elementary-tasks: 6.3.0 -> 6.3.1
https://github.com/elementary/tasks/releases/tag/6.3.1
2023-04-12 21:40:00 +08:00
Ryan Lahfa
6a101d0be6
Merge pull request #225225 from puppe/fix-yggdrasil-tests
nixos/yggdrasil: fix yggdrasil local peering test
2023-04-12 13:36:37 +02:00
Vladimír Čunát
2a3291834f
Merge #224806: staging-next 2023-04-05 2023-04-12 13:18:37 +02:00
Javed Mohamed
3ecc7b1484 nixos/gpsd: add multiple-device support for gpsd 2023-04-12 10:15:47 +02:00
github-actions[bot]
47157337bf
Merge master into staging-next 2023-04-12 00:02:18 +00:00
Martin Weinelt
7a5a2fa8a4
Merge pull request #225785 from helsinki-systems/warn-dhcpd-eol
nixos/dhcpd: warn of pending removal
2023-04-12 00:08:42 +02:00
ajs124
e3702c0788 nixos/dhcpd: warn of pending removal 2023-04-11 23:47:40 +02:00
0x4A6F
3196b965ed
Merge pull request #224072 from helsinki-systems/fix/borg-compact
nixos/borgbackup: run compact after prune
2023-04-11 21:14:39 +02:00
Jörg Thalheim
89103b63d2
Merge pull request #225195 from Mic92/buildbot
buildbot: move out of python3.pkgs
2023-04-11 19:49:24 +01:00
github-actions[bot]
4e2c1815ed
Merge master into staging-next 2023-04-11 18:01:18 +00:00
ajs124
d37ee8222b nixos/borgbackup: run compact after prune 2023-04-11 19:48:16 +02:00
Martin Weinelt
7e8b87566a
Merge pull request #219493 from covert8/ceph-17
ceph: 16.2.10 -> 17.2.5
2023-04-11 19:35:38 +02:00
0x4A6F
1ee33cc078
Merge pull request #224460 from helsinki-systems/drop/gitit-mod
nixos/gitit: remove
2023-04-11 19:23:59 +02:00
marius david
83c344fedb nixos/tests/yggdrasil: fix local peering test 2023-04-11 14:34:28 +02:00
github-actions[bot]
3c070a08ff
Merge master into staging-next 2023-04-11 12:01:14 +00:00