Commit graph

31049 commits

Author SHA1 Message Date
Ross Gardiner b199b821c2 nixos/grafana: fix spelling 2023-01-09 13:02:36 +01:00
Naïm Favier aa3dc8b8c3
Merge pull request #208694 from ncfavier/resolvconf-nixos-enter 2023-01-09 12:58:31 +01:00
Naïm Favier bff4bb5540
Merge pull request #208762 from ncfavier/link-manpages-options-doc 2023-01-09 11:57:01 +01:00
Naïm Favier 8cd3fc50f9
Merge pull request #209031 from ncfavier/fail2ban-nftables 2023-01-09 11:54:03 +01:00
Naïm Favier 1e05357c58
Merge pull request #209763 from ncfavier/fix-mkAliasOptionModule 2023-01-09 11:35:56 +01:00
s1341 dbfe3bd2e7 kasmweb: init at 1.12.0 2023-01-09 07:19:54 +02:00
Bobby Rong 21b9c3cee5
Merge pull request #209709 from bobby285271/init/nixosTests.mate
nixos/tests/mate: init
2023-01-09 12:38:19 +08:00
Martin Weinelt 56103f5f70
nixos/tests/evcc: Ignore ERROR level messages
The version checker fails with an ERROR message, so asserting on that
isn't useful for us since 0.110.2.
2023-01-09 02:34:55 +01:00
Aaron Andersen 4769274f53
Merge pull request #205526 from newAM/github-runner-oom
nixos/github-runner: add workDir option
2023-01-08 19:01:44 -05:00
Sandro 2eb836b43e
Merge pull request #208864 from GaetanLepage/fwupd 2023-01-09 00:57:48 +01:00
Naïm Favier fb1bc8de93
lib/modules: make mkAliasOptionModule emit DocBook
Follow-up to https://github.com/NixOS/nixpkgs/pull/208407

Removing `mdDoc` isn't enough, we need to emit actual DocBook.
2023-01-08 22:44:18 +01:00
Matt Melling f8c8f22104
nixos/xastir: fix enable option doc string 2023-01-08 21:17:41 +00:00
Robert Hensing 22eb959f37 nixos/amazon-option: Tolerate harmless ec2.hvm for compatibility
Throwing an error necessitates changes in NixOps that are not safe yet.
2023-01-08 19:01:02 +01:00
Maciej Pasternacki c3ec444a61 nixos/gitlab-runner: fix style issues flagged by statix 2023-01-08 17:37:43 +01:00
Maciej Pasternacki d5cb89b024 nixos/gitlab-runner: fix problems introduced by last #209716 2023-01-08 17:36:45 +01:00
Bobby Rong 76c0fad164
nixos/tests/mate: init 2023-01-08 23:57:34 +08:00
K900 0c9aadc8ef
Merge pull request #209678 from K900/upd8n
n8n: 0.209.3 -> 0.210.1, disable telemetry
2023-01-08 15:29:25 +03:00
K900 337d358300 nixos/n8n: disable telemetry by default
Originally intended to just speed up the tests, but probably a good idea in general.
2023-01-08 14:43:53 +03:00
Domen Kožar dce3b02d44
Merge pull request #209501 from sandydoo/improve/fix-commonmark-doc-isues
nixos/make-options-doc: skip re-escaping literal expressions
2023-01-08 11:14:57 +00:00
sandydoo 18df33f5bc
nixos/make-options-doc: skip re-escaping strings 2023-01-08 08:52:17 +00:00
R. Ryantm 2d72d4775e cri-o: 1.25.1 -> 1.26.0 2023-01-08 13:30:27 +10:00
zowoq 448dc91db4 nixos/cri-o: source cni and crictl from package 2023-01-08 13:30:27 +10:00
zowoq 5da87a8c7b nixos/containers: source policy from separate skopeo output 2023-01-08 13:30:27 +10:00
Felix Bühler a4eb1b11bc
Merge pull request #209254 from Stunkymonkey/freshrss-srv-pgsql
nixos/freshrss: fix permissions and add database test
2023-01-07 19:13:30 +01:00
Sandro Jäckel 3071db258b
nixos/mastodon: remove duplicated shebang 2023-01-07 18:06:57 +01:00
Thiago Kenji Okada c2fdf2d137
Merge pull request #209191 from wegank/mongodb-more-drops
mongodb-4_0: drop
2023-01-07 13:04:34 +00:00
Aneesh Agrawal 2fc8504223 nixos/etebase-server: Leverage $PATH
This simplifies the existing module
but also enables consumers to call `etebase-server`
from custom preStart commands (i.e. user creation commands).
2023-01-07 12:20:03 +01:00
Naïm Favier 88a7218236
nixos/fail2ban: support nftables with default configuration 2023-01-07 11:26:40 +01:00
Moritz 'e1mo' Fromm 8d4251f491
nixos/dokuwiki: Add e1mo as maintainer 2023-01-06 23:40:09 +01:00
Moritz 'e1mo' Fromm 236d90fde0
nixos/dokuwiki: Overhaul for structured settings
Added the RFC42-style added the posibility to use
`services.dokuwiki.sites.<name>.settings' instead of passing a plain
string to `<name>.extraConfig`. ´<name>.pluginsConfig` now also accepts
structured configuration.
2023-01-06 22:02:37 +01:00
Felix Buehler 0e2787884e nixos/freshrss: fix permissions and add database test 2023-01-06 21:16:50 +01:00
Jonas Heinrich 059e0f8958
Merge pull request #209316 from e1mo/dokuwiki/housekeeping
nixosTests.dokuwiki: Deduplicate node configuration
2023-01-06 21:10:50 +01:00
Moritz 'e1mo' Fromm 055100611d
nixos/dokuwiki: Simplify plugin fetching examples
Also replaced apache httpd referenced with ones to caddy
2023-01-06 15:12:47 +01:00
Moritz 'e1mo' Fromm da9185d964
nixosTests.dokuwiki: Deduplicate node configuration
Also added two "quality of life" tests to ensure customisations to the
dokuiwki package are not being discarded and both webserver
configurations handle rewriting correctly.
2023-01-06 14:51:34 +01:00
Moritz 'e1mo' Fromm 4649662802
nixos/dokuwiki: Take phpPackage and phpOptions 2023-01-06 01:09:46 +01:00
Thiago Kenji Okada 492690e923
Merge pull request #209182 from jamesbt365/opentabletdriver-configurations
opentabletdriver: remove hardcoded config path
2023-01-05 20:46:37 +00:00
Thiago Kenji Okada 1deddf959c
Merge pull request #209175 from gador/unifi-fix-monogdb-version
nixos/unifi: fix mongodb to a stable version
2023-01-05 20:39:14 +00:00
Weijia Wang 7afa7286f7 mongodb-4_0: drop 2023-01-05 21:21:33 +01:00
Naïm Favier 8822e9620c
nixos/iay: use mkPackageOptionMD 2023-01-05 20:01:57 +01:00
Weijia Wang 3a8a14d894 nixos/unifi-video: bump default mongodb version 2023-01-05 19:10:35 +01:00
Robin Gloster 271c20dd40
Merge pull request #209022 from mayflower/fix-mailman-hyperkitty-css
nixos/mailman: fix hyperkitty css/js when virtualRoot is `/`
2023-01-05 17:29:08 +01:00
jamesbt365 ad491fec88
opentabletdriver: remove hardcoded config path 2023-01-05 15:15:08 +00:00
Florian Brandes 45d27d43c4 nixos/unifi: fix mongodb to a stable version
Otherwise unifi might break on a next big update
just like https://github.com/NixOS/nixpkgs/pull/207382#issuecomment-1371303817

Also this requires an update of the unifi package. With the LTS
version, newer mongodb versions aren't supported. The current supported
version of unifi 7 is mongodb 3.6 acording to
https://community.ui.com/releases/UniFi-Network-Application-7-0-20/3e4a4099-c063-42f6-8e21-5fb2c99fcea9 which isn't even supplied by nixpkgs anymore.

mongodb-4_2 isn't officially supported, but works.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-05 15:16:02 +01:00
Lassulus c366c3dbc8
Merge pull request #209064 from Lassulus/os-release-extra 2023-01-05 14:14:09 +01:00
Anderson Torres 6124309e74
Merge pull request #207797 from omasanori/iay-module
nixos/iay: add module; iay: add myself as a maintainer
2023-01-05 08:22:16 -03:00
Matthieu Coudron c61f554c1a modules.gitlab-runner: accept space in names
when you register a runner with spaces in its name (possible if you use 'description' option) then the runners never get unregistered because our bash scripts assume no space in names.

This solves the issue

Retreiving the fullname of the runner via `gitlab-runner list` got surprisingly hard between lazy-capture issues and `gitlab-runner list` displaying invisible (CSI) characters that break the regex etc.
Which is why I fell back on the pseudo-json format.

This PR adds the hash in the name, which allows to keep both the
stateless aspect of the module while allowing for a freeform name.

I found using bash associative arrays easier to use/debug than the current
approach.
2023-01-05 11:43:32 +01:00
Colin Arnott de49ddabae
nixosTests.wordpress: iterate over versions
As a follow up to f9d1f80045, we should
add the ability to test explicit versions of the wordpress derivation.
Since we are currently only supporting wordpress6_1 in unstable, this
change is a noop.

Updates #209051
2023-01-05 06:38:37 +00:00
Aneesh Agrawal 1e94e9146f radicale: Drop self (aneeshusa) from maintainership
I have switched to using etebase/etesync.
2023-01-05 00:14:38 -05:00
pennae 3339892da9 nixos/plasma5: use mkPackageOptionMD 2023-01-05 13:46:54 +10:00
pennae 9da5f12ecf modules: add mkPackageOptionMD
another transitional option factory, like mkAliasOptionModuleMD.
2023-01-05 02:33:13 +01:00
pennae 4c1cfbdb84 modules: add mkAliasOptionModuleMD
mkAliasOptionModule should not default to mdDoc descriptions because
that can break out-of-tree users of documentation infrastructure. add an
explicitly-MD variant for now, to be removed some time after the MD
transition is complete.
2023-01-05 02:33:13 +01:00
Bjørn Forsman 1b80fc4204 nixos/tests/apcupsd.nix: init
This verifies that https://github.com/NixOS/nixpkgs/issues/208204
("apcupsd: apcaccess does not respect config from services.apcupsd") is
fixed.
2023-01-04 21:45:58 +01:00
Bjørn Forsman 295c552dc9 nixos/apcupsd: wrap CLI with "-f ${configFile}"
This ensures that the CLI is in sync with the service configuration.

(I tried building apcupsd with --sysconfdir=/etc instead, but it wants
to install stuff there at build time, so I backed out.)

Fixes https://github.com/NixOS/nixpkgs/issues/208204.
2023-01-04 21:45:58 +01:00
lassulus 5464e0a018 nixos/misc: add VARIANT_ID in /etc/os-release for identifying nixos installer
This is a feature useful for nixos-remote and other installation tools
that try to identify if the remote machine has been successfully booted
into an installer.
2023-01-04 19:11:41 +01:00
figsoda 3ae8752abe
Merge pull request #208925 from figsoda/channel
doc/installation: fix incorrect channel link
2023-01-04 10:22:38 -05:00
Maximilian Bosch 05f6dd4dc6
nixos/mailman: fix hyperkitty css/js when virtualRoot is /
The `manage-script-name` / `mount` approach doesn't work if you don't
serve your instance behind e.g. `/lists`.
2023-01-04 11:59:27 +01:00
Gaetan Lepage b069f6230d nixos/fwupd: enable udisks2 2023-01-04 08:02:42 +01:00
Gabriella Gonzalez 6d89aa8f1d
darwin.builder: auto-login as the builder user (#208772)
… as suggested by @NiklasGollenstede in:

https://github.com/NixOS/nixpkgs/pull/206951#issuecomment-1369020601

This simplifies the user experience for logging into and
debugging the machine and also simplifies the instructions for
shutting down the machine gracefully.
2023-01-03 21:12:56 -08:00
zowoq 469aec905b nixos/podman, podman: switch to netavark network stack 2023-01-04 14:25:14 +10:00
Alex Martens 307730fb72 nixos/github-runner: add workDir option 2023-01-03 19:54:25 -08:00
Bobby Rong 474405c522
Merge pull request #208897 from bobby285271/cinnamon-xapp-icons
Cinnamon: add missing xapp icons
2023-01-04 10:05:17 +08:00
figsoda 85053313e7 doc/installation: fix incorrect channel link 2023-01-03 15:24:36 -05:00
Kevin Cox c930fd9517
Merge pull request #207874 from kevincox/nginx-unique
nixos/nginx: Deduplicate modules.
2023-01-03 13:07:43 -05:00
K900 f7f8f2be7b
Merge pull request #207895 from r-ryantm/auto-update/pipewire
pipewire: 0.3.63 -> 0.3.63
2023-01-03 20:41:40 +03:00
Michele Guerini Rocco 4b87e3b61d
Merge pull request #207887 from MrcJkb/fix-gpg-module-for-nushell
nixos/gnupg: (fix) use runtimeShell to call updatestartuptty
2023-01-03 18:20:05 +01:00
Charles Johnson 2628f0003c
waydroid: 1.3.3 -> 1.3.4 (#206833)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-01-03 17:43:06 +01:00
Bobby Rong f38b252955
nixos/cinnamon: add missing xapp icons
Mostly all mint app looks for xapp-* icons, while some icon themes do provide them,
mint-y-* does not. We are just going the laziest way here to install xapp globally
to get those icons.
2023-01-04 00:34:09 +08:00
Sandro 2bd27f69f7
Merge pull request #201951 from laalsaas/noto-fonts 2023-01-03 16:54:47 +01:00
Marc Jakobi 9cc1e97f61 nixos/gnupg: (fix) use runtimeShell to call updatestartuptty 2023-01-03 16:37:05 +01:00
Linus Heckemann 4e4ada9d92
Merge pull request #207847 from lheckemann/plasma-mobile-pipewire
plasma5: allow pipewire-pulse instead of pulseaudio for mobile
2023-01-03 14:51:43 +01:00
Izorkin b943fb24b7 chrony: update sandboxing options 2023-01-03 07:04:55 -06:00
Naïm Favier 4fb500d629
nixos/doc: fix some manpage references 2023-01-03 14:03:35 +01:00
Naïm Favier f61e538c43
nixos/make-options-doc: link manpages
Add links to manpages without a link using the mapping defined in
`doc/manpage-urls.json`, as is already done for the nixpkgs and NixOS
manuals.
2023-01-03 14:03:35 +01:00
Yaya 5e96eb14ce
nixos/snipe-it: Fix a bug in the setup script (#206869)
The `snipe-it-setup.service` script exits with an error if the
invalid_barcode.gif already exists at the destination, due to
`set -euo pipefail` at the beginning of the script. This commit
refactors the affected lines so that it no longer causes an error.

Resolves #205791
2023-01-03 13:49:07 +01:00
Franz Pletz c8c6436ac2
Merge pull request #208861 from reedrw/i3-422 2023-01-03 13:12:24 +01:00
Reed e3539cdd2c nixos/i3: update doc for gaps merge 2023-01-03 06:28:51 -05:00
Kim Lindberger ba1e6e5f8c
Merge pull request #184206 from e1mo/e1mo/parsedmarc-new-config
nixos/parsedmarc: follow upstream configuration
2023-01-03 12:26:06 +01:00
Luke Granger-Brown 5a236902c3
Merge pull request #208723 from gador/paperless-ngx-add-poppler
paperless-ngx: fix build
2023-01-02 22:36:05 +00:00
Jörg Thalheim 34f4701127
Merge pull request #208784 from SuperSandro2000/nix-ld
nixos/nix-ld: fix example texts
2023-01-02 18:56:06 +00:00
Sandro Jäckel 0b9f76a8d3
nixos/nix-ld: fix example texts 2023-01-02 18:46:13 +01:00
Winter 15013b3054
darwin.builder: prefer shutting down over halting VM (#208450)
This is preferable because it prevents things like disk corruption (requiring the user to delete the disk image when starting up) that I consistently ran into.
2023-01-02 07:36:41 -08:00
Florian Brandes b406baead8 nixos/paperless-ngx: reorder "after" keyword
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 16:25:34 +01:00
Florian Brandes 5b6881f4a0 nixos/paperless-ngx: fix startup order
The nixOS test failed sporadically with a timeout.
This is due to a race condition in the startup  of
the scheduler vs the task-queue.

The scheduler runs the migration scripts in "pre-start" and
celery isn't available, yet. The celery worker (paperless-task-queue)
was already started by systemd but was unable to connect
(as the migration scripts from "pre-start" still ran).

This fix adds the necessary "after" condition in the systemd
worker unit and adds a test to "paperless"

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 15:21:45 +01:00
Naïm Favier a8d4cf149c
doc: separate manpage URLs from the Pandoc filter
Move the manpage-to-URL mapping to `doc/manpage-urls.json` so that we can
reuse that file elsewhere, and generate the `link-manpages.lua` filter from
that file.

Also modify the Pandoc filter so that it doesn't wrap manpages that are
already inside a link.

Keeping a Lua filter is essential for speed: a Python filter would
increase the runtime `md-to-db.sh` from ~20s to ~30s (but Python is not
to blame; marshalling Pandoc types to and from JSON is a costly operation).
Parsing in Lua seems tedious, so I went with the Nix way.
2023-01-02 14:11:22 +01:00
Maximilian Bosch 0cd88dbc60
nixos/gitea: adapt configs for 1.18
Co-authored-by: Izorkin <izorkin@elven.pw>
2023-01-02 11:19:04 +01:00
Naïm Favier 37e42d01a0
nixos/etc: skip resolv.conf in nixos-enter chroot
nixos-enter sets up /etc/resolv.conf as a bind mount from the host
system, so trying to activate a system that sets
`environment.etc."resolv.conf"` (e.g. with systemd-resolved enabled)
results in an unhelpful warning.

Skip linking /etc/resolv.conf if we're in a nixos-enter environment, as
determined by the IN_NIXOS_ENTER environment variable.

Make the warnings more helpful, indicating which file we failed to link.

Unlink temporary files in case of failure.
2023-01-02 01:41:29 +01:00
Jörg Thalheim c8104628f4 nixos/tests/installer/bcachefs: use ocr to type in password 2023-01-01 19:58:17 +01:00
Jörg Thalheim 13b0e42202 nixos/tests/installer: disable zfs for bcachefs tests
we are potentially testing very new kernels here, which are not
supported by zfs yet.
2023-01-01 19:58:17 +01:00
Jörg Thalheim 655e072533 nixos/bcachefs: fix boot with systemd enabled initrd 2023-01-01 19:58:16 +01:00
Naïm Favier 19cfb3e48c
nixos/tests/installer: test initrd secrets and nix-build
Both of those things rely on nixos-enter creating `/tmp` under the mount
point.
2023-01-01 17:20:37 +01:00
Naïm Favier a5b7b6e47a
nixos/nixos-enter: hide systemd-tmpfiles errors
Due to missing `/etc/machine-id` in the new root, systemd-tmpfiles
outputs a bunch of scary warnings like "Failed to replace specifiers in
'/run/log/journal/%m'". We only care about /tmp, so hide them.

`-E` is an alias for `--exclude-prefix=/dev --exclude-prefix=/proc
--exclude-prefix=/run --exclude-prefix=/sys`.
2023-01-01 17:18:20 +01:00
Naïm Favier c72f5995e4
Merge pull request #205933 from ncfavier/nix-auto-allocate-uids 2023-01-01 14:18:25 +01:00
Naïm Favier 8796411139
Merge pull request #208176 from ncfavier/markdown-no-trailing 2023-01-01 14:15:05 +01:00
Naïm Favier 1596c87bdb
Merge pull request #195945 from ncfavier/wg-quick-nftables 2023-01-01 14:13:01 +01:00
Robert Hensing 70dab2843f
Merge pull request #208168 from hercules-ci/lib-types-string-coercions
`types.path`: Do not allow lists of strings
2023-01-01 13:46:55 +01:00
Naïm Favier 6a166a5ab1
Merge pull request #199425 from Mikilio/master 2023-01-01 11:15:03 +01:00
0x4A6F 7e159b1a67 nixos/cloudflared: systemd dependency fix
- also wait for network-online.target:
  fixes startup error on reboot without functioning networking
- restart on-failure (upstream service definition)
2023-01-01 11:01:02 +01:00
Sandro 407160f700
Merge pull request #207382 from wegank/mongodb 2022-12-31 23:07:42 +01:00
Ryan Lahfa 06542b21a0
Merge pull request #205636 from LoveIsGrief/webhook-module
nixos/webhook: add support for a webhook service option
2022-12-31 22:31:38 +01:00
Moritz 'e1mo' Fromm 59c28cab1c
nixos/parsedmarc: follow upstream configuration
> Starting in version 8.0.0, most options from the `imap` section have
been moved to the `mailbox` section.

6b2131f0e8
2022-12-31 16:42:41 +01:00