Commit graph

29327 commits

Author SHA1 Message Date
Robert Hensing 6a78b41476 nixos/doc/writing-nixos-tests: Various improvements
Thanks to fricklerhandwerk for the many suggestions, most of which
I have fixupped into preceding commits.
2022-09-24 17:38:11 +01:00
Robert Hensing b2caf7965c nixos/doc/writing-nixos-tests: Clarify working directory
Co-authored-by: christian-burger <christian@krikkel.de>
2022-09-24 17:38:11 +01:00
Robert Hensing 666e969da0 nixos/testing: Add nodes.config backcompat to nodes module argument 2022-09-24 17:38:10 +01:00
Robert Hensing ac03757eb2 nixos/doc: Wire up the test options reference 2022-09-24 17:38:10 +01:00
Robert Hensing 6205d37747 nixos/testing: Improve option docs 2022-09-24 17:38:10 +01:00
Robert Hensing 4ce93fbae8 nixos/testing-python: Add interactive variant support to makeTest 2022-09-24 17:38:10 +01:00
Robert Hensing 618f82406f nixos/tests/installer: Fix docbook dependency 2022-09-24 17:38:10 +01:00
Robert Hensing 52bfa318e8 nixos/testing: Support mypy through regular mechanisms
Rebase / forward port of 2c8bbf33fd
2022-09-24 17:38:10 +01:00
Robert Hensing 9303a3c73b nixos/tests/installed-tests: Fix maintainers 2022-09-24 17:38:10 +01:00
Robert Hensing 583a4f0275 nixos/tests/cri-o: Fix maintainers 2022-09-24 17:38:10 +01:00
Robert Hensing e260018f9c nixos/tests: Add names 2022-09-24 17:38:09 +01:00
Robert Hensing 0af6e6b0e5 nixos/testing/meta.nix: Add options, some optional 2022-09-24 17:38:09 +01:00
Robert Hensing f01fec4099 nixos/testing/network.nix: Fix specialisations onlyShorthand 2022-09-24 17:38:09 +01:00
Robert Hensing e77913a680 nixos/all-tests.nix: Invoke tests based on make-test-python.nix 2022-09-24 17:38:09 +01:00
Robert Hensing 9886db059a nixos/testing: Embrace callTest
My conception of its input was wrong. It is quite a useful construct,
even if its name is a bit weird.
2022-09-24 17:38:09 +01:00
Robert Hensing 5297d584bc nixos/lib/eval-config: Document the use of baseModules 2022-09-24 17:38:09 +01:00
Robert Hensing 57ac9dd3ae nixos/lib/build-vms.nix: Remove
It has been replaced by the modular test framework in nixos/lib/testing.

If you are looking for a way to produce a VM-test-like configuration
outside of the test framework, use the nixos/lib/testing/nixos-test-base.nix
NixOS module, possibly in combination with { _module.args.nodes = .....; }.
2022-09-24 17:38:09 +01:00
Robert Hensing 24d1d74e4e nixos/testing: Extract nixos-test-base.nix NixOS module 2022-09-24 17:38:09 +01:00
Robert Hensing 38fb09e427 testing-python.nix: Replace makeTest implementation 2022-09-24 17:38:08 +01:00
Robert Hensing 537f456373 nixos/doc/running-nixos-tests: Simplify running instructions with nixosTests 2022-09-24 17:38:08 +01:00
Robert Hensing 6e2f753989 nixos/doc/running-nixos-tests-interactively: Describe interactive option 2022-09-24 17:38:08 +01:00
Robert Hensing b0c781cc41 nixos/testing: Move entrypoint to nixos/lib + doc 2022-09-24 17:38:08 +01:00
K900 640aa41dfb nixos/plasma5: only generate kwinrc/kdeglobals if we have anything to generate 2022-09-24 15:10:14 +03:00
Robert Hensing e18ab300ad
Merge pull request #191647 from hercules-ci/nixos-options-doc-explain-migration
nixos/make-options-doc: Explain docbook to markdown migration
2022-09-24 12:46:50 +01:00
Matthieu Coudron fd62fdca5b virtualisation.docker: require docker.service for docker-prune.service
else docker-prune fails when docker is not launched. Adjusted the test as well
2022-09-24 10:42:00 +02:00
Azat Bahawi 99dc9b9c16
nixos/endlessh-go: init module 2022-09-23 23:55:54 +03:00
github-actions[bot] b23abdbc62
Merge staging-next into staging 2022-09-23 12:02:09 +00:00
github-actions[bot] ef833a6fd2
Merge master into staging-next 2022-09-23 12:01:34 +00:00
Vladimír Čunát b6e4e0f8ef
Merge #191727: firefox-esr-91, thunderbird-91: drop
...into staging-next
2022-09-23 11:51:26 +02:00
Alexander Bantyev 9ee2ceb492
Merge pull request #192496 from cab404/moonraker-defaults-fix
nixos.moonraker: fix config options location
2022-09-23 11:25:57 +04:00
cab e46430d503
nixos.moonraker: version change fixes
Old config locations were deprecated
https://moonraker.readthedocs.io/en/latest/configuration/#option-moved-deprecations.

Also, added PrivateTmp to accomodate for logs being unconditionally
written there.
2022-09-23 11:17:54 +04:00
cab 849c40b5f5
klipper: additional options
This allows for easier interop with Moonraker, as well as giving an
ability to store klipper configuration files in /var/lib/klipper, thus not
littering /etc with all the backups SAVE_CONFIG does.

- Added `configFile` as an alternative way to specify configuration
- Added `isMutableConfig` and `mutableConfigPath`

Co-authored-by: @lovesegfault <bernardo@meurer.org>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Bernardo Meurer <bernardo@meurer.org>
2022-09-23 03:10:28 +04:00
Vladimír Čunát e9a9c34f4b
Merge branch 'staging-next' into staging 2022-09-22 19:08:09 +02:00
Vladimír Čunát 3671ea902a
Merge branch 'master' into staging-next 2022-09-22 19:06:26 +02:00
Florian Brandes 73f09f2145
pgadmin4: 6.12 -> 6.13
- Add update script
- Add email options to pgadmin4 nixOS module
- Add override for flask 2.2

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-09-22 17:42:20 +02:00
github-actions[bot] a3f8caaf61
Merge staging-next into staging 2022-09-22 12:02:15 +00:00
Maximilian Bosch b2ec74836b
Merge pull request #191670 from Ma27/fix-hardened-kernel-update
linux/hardened: fix update script and build for 5.19
2022-09-22 11:03:31 +02:00
Martin Weinelt c571a5d1c2
Merge pull request #192388 from erikarvstedt/paperless-fix-syscalls 2022-09-22 09:11:23 +02:00
github-actions[bot] 7725fd3617
Merge staging-next into staging 2022-09-22 06:20:23 +00:00
github-actions[bot] 659e794cd5
Merge master into staging-next 2022-09-22 06:19:43 +00:00
Erik Arvstedt ecacff35a6
nixos/paperless: add required syscall
`unpaper` requires syscall 238 (`set_mempolicy`).
Add this by un-blocking the systemd syscall filter set `@resources`
which is safe in the context of paperless.
2022-09-22 08:14:21 +02:00
figsoda 2bf91a6157
stylua: 0.14.3 -> 0.15.0 (#192279) 2022-09-22 14:50:19 +10:00
github-actions[bot] e9b2b25a61
Merge staging-next into staging 2022-09-22 00:03:56 +00:00
github-actions[bot] 6ded381b0e
Merge master into staging-next 2022-09-22 00:03:22 +00:00
Sandro fad61ad09c
Merge pull request #188949 from RaitoBezarius/listmonk-module 2022-09-21 23:42:03 +02:00
github-actions[bot] 2773f22a43
Merge staging-next into staging 2022-09-21 18:02:00 +00:00
github-actions[bot] 57e15d64c3
Merge master into staging-next 2022-09-21 18:01:25 +00:00
Raito Bezarius 6b891f4788 nixos/listmonk: init module 2022-09-21 19:55:20 +02:00
Jakub Kozłowski 944c6691fc
aws: remove, recommend awscli / awscli2 (#176707)
Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
2022-09-21 19:06:36 +02:00
maralorn d3eeb5fcd2 Merge remote-tracking branch 'refs/remotes/origin/haskell-updates' into haskell-updates 2022-09-21 17:43:42 +02:00
maralorn 90eacab493 Merge branch 'master' into haskell-updates 2022-09-21 17:42:00 +02:00
maralorn bdcbbc7bd2 haskell-language-server: Default toplevel attribute to dynamic linking and one ghc version 2022-09-21 16:39:12 +02:00
maralorn e2c6425398
Merge pull request #191991 from maralorn/drop-minor-versions
haskell.{compiler,packages}: Add aliases without minor versions
2022-09-21 16:15:48 +02:00
Brian Leung e5f798f3b9 nixos/lemmy: use PostgreSQL module to ensure database/user existence
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-09-21 09:00:52 -04:00
Brian Leung 3de898f262 nixos/lemmy: inline localPostgres into database assertion
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
Co-authored-by: Brian Leung <leungbk@posteo.net>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-09-21 09:00:52 -04:00
github-actions[bot] ef4dc6ef6a
Merge staging-next into staging 2022-09-21 12:02:28 +00:00
github-actions[bot] 15bbf4d3fc
Merge master into staging-next 2022-09-21 12:01:48 +00:00
Martin Weinelt b3c86ef755
firefox-esr-91-unwrapped: drop
The 91 series has reached its end of life.
2022-09-21 13:45:38 +02:00
Robert Hensing 5727fd3e6f nixosTests.agate: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing 15dcbc2514 nixosTests.aesmd: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing edf8be37af nixosTests.adguardhome: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing b7ffe44469 nixosTests.acme: Use module system based runner 2022-09-21 10:55:12 +01:00
Robert Hensing 9e4277b970 nixos/testing/network.nix: Fix for specialisations and specialArgs.name
Before this, it relied on being able to `imports` from the `name`
module argument, which wasn't really necessary and required a
potentially quite breaking change. We can revert that now.
2022-09-21 10:55:12 +01:00
Robert Hensing 0691b450b1 nixosTests._3proxy: Use module system based runner 2022-09-21 10:55:11 +01:00
Robert Hensing a958a4aa00 nixos/testing: Add pkgs parameter
This parameter is for packages to use in VMs, unlike hostPkgs.
2022-09-21 10:55:11 +01:00
Robert Hensing 124b0c4abc nixos/testing/network.nix: Avoid deprecated .config 2022-09-21 10:55:11 +01:00
Robert Hensing 3c09cb2363 nixos/all-tests.nix: Improve runTest for release.nix
... and add runTestOn.
2022-09-21 10:55:11 +01:00
Robert Hensing b3de22483c nixos/testing-python.nix: Add evalTest
This is a decomposition of the testing-python.nix and build-vms.nix
files into modules.

By refactoring the glue, we accomplish the following:

 - NixOS tests can now use `imports` and other module system features.
    - Network-wide test setup can now be reusable; example:
       - A setup with all VMs configured to use a DNS server
       - Split long, slow tests into multiple tests that import a
         common module that has most of the setup.
    - Type checking for the test arguments
    - (TBD) "generated" options reference docs
 - Aspects that had to be wired through all the glue are now in their
   own files.
    - Chief example: interactive.nix.
    - Also: network.nix

In rewriting this, I've generally stuck as close as possible to the
existing code; copying pieces of logic and rewiring them, without
changing the logic itself.

I've made two exceptions to this rule

 - Introduction of `extraDriverArgs` instead of hardcoded
   interactivity logic.

 - Incorporation of https://github.com/NixOS/nixpkgs/pull/144110
   in testScript.nix.

I might revert the latter and split it into a new commit.
2022-09-21 10:55:11 +01:00
oxalica 07a9b7b1d8 nixos/{test/,}v2ray: fix for new CLI and use upstream systemd units 2022-09-21 15:59:29 +08:00
Jonas Heinrich ed1b801f8d
Merge pull request #192110 from rski/master
nixos/modules/sway: Remove unsupported flag in doc
2022-09-21 09:50:49 +02:00
github-actions[bot] 7f9508dfa0
Merge staging-next into staging 2022-09-21 06:24:07 +00:00
github-actions[bot] 071a9fc320
Merge master into staging-next 2022-09-21 06:23:26 +00:00
maralorn fae2ff5c03 haskell.{compiler,packages}: Add aliases without minor versions 2022-09-21 05:51:28 +02:00
Robert Hensing 97f6e8b3e6
Merge pull request #191988 from zombiezen/fix-docker-ca-certificates
dockerTools: add missing mkdir to caCertificates derivation
2022-09-21 01:20:00 +01:00
Kira Bruneau 2a916b6c29 nixos/xpadneo: add sanity test 2022-09-20 20:07:11 -04:00
github-actions[bot] 1b62f29126
Merge staging-next into staging 2022-09-21 00:04:25 +00:00
github-actions[bot] 7da9ac9ae6
Merge master into staging-next 2022-09-21 00:03:46 +00:00
Robert Hensing cbb1f39264 nixosTests.docker-tools: Add image-with-certs 2022-09-21 01:00:04 +01:00
Kira Bruneau 216a21c638 linuxPackages.xpadneo: 0.9.4 -> 0.9.5 2022-09-20 18:52:46 -04:00
Thomas Tuegel fff89194fe
Merge pull request #183381 from alois31/oxygen-sounds
oxygen-sounds: init at 5.25.3
2022-09-20 14:25:55 -05:00
Romanos Skiadas 460b4b8c1a nixos/modules/sway: Remove unsupported flag in doc
--my-next-gpu-wont-be-nvidia is no longer supported as of 1.7
2022-09-20 20:51:27 +03:00
github-actions[bot] abd82bc57d
Merge staging-next into staging 2022-09-20 12:02:05 +00:00
github-actions[bot] 1edfa00d80
Merge master into staging-next 2022-09-20 12:01:29 +00:00
Florian Klink 40461db5c5
Merge pull request #191904 from SuperSandro2000/191032-cleanup
nixos/systemd: remove not required or true
2022-09-20 12:45:00 +02:00
Martin Weinelt 5d4267b0f2 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-20 12:25:19 +02:00
Jonas Heinrich 77984dedc4
Merge pull request #191851 from wentasah/usbrelay-1.0.1
usbrelay: 1.0 -> 1.0.1
2022-09-20 12:23:36 +02:00
Peder Bergebakken Sundt d9de5da65b nixos/code-server: escape shell extraArguments 2022-09-19 22:21:26 +02:00
Brian Leung 2c8e67bf6b nixos/lemmy: settings.database.createLocally -> database.createLocally
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-09-19 11:34:08 -04:00
Sandro Jäckel 03b6d5111a
nixos/systemd: remove not required or true 2022-09-19 13:45:01 +02:00
Christian Kögler 155c7b11a5 nixos/test: Fix system for systemd-machinectl 2022-09-19 13:33:32 +02:00
Jakub Okoński 1655d5ab7a
nixos/rust-motd: fix systemd service checks
By completely locking down RestrictAddressFamilies, the service
was unable to talk to systemd to check .service statuses.
2022-09-18 23:17:50 +02:00
Michal Sojka ec026d26d2 usbrelay: 1.0 -> 1.0.1 2022-09-18 22:54:13 +02:00
github-actions[bot] d5cae016d9
Merge staging-next into staging 2022-09-18 12:02:15 +00:00
github-actions[bot] 7b5db3faac
Merge master into staging-next 2022-09-18 12:01:40 +00:00
Maximilian Bosch 073f7b179c
nixos/kernel-generic: build linux_5_19_hardened 2022-09-18 12:13:58 +02:00
Linus Heckemann fb517fc0b0
Merge pull request #191672 from Ma27/rm-kernel-18
linux: remove 5.18
2022-09-18 12:09:02 +02:00
github-actions[bot] da8996606d
Merge staging-next into staging 2022-09-18 06:03:46 +00:00
Vladimír Čunát f8dcf25486
Merge branch 'master' into staging-next 2022-09-18 07:31:10 +02:00
Franz Pletz 60e0f368f1
Merge pull request #191552 from Tasqa/libvirtd-zfs-storage 2022-09-18 04:21:15 +02:00
Lorenzo Manacorda 241f31a0a7 nixos/matrix-synapse: fix link to install instructions 2022-09-18 04:14:57 +02:00
Jairo Llopis a7a94811e3
nixos/nix-daemon: support machine protocol
Make ssh-ng:// users happier.

@moduon MT-904
2022-09-18 00:05:35 +02:00
github-actions[bot] c39e45375c
Merge staging-next into staging 2022-09-17 18:01:49 +00:00
github-actions[bot] f2681f8bd1
Merge master into staging-next 2022-09-17 18:01:15 +00:00
Maximilian Bosch 5b35cc27e0
Merge pull request #190431 from r-ryantm/auto-update/wiki-js
wiki-js: 2.5.286 -> 2.5.287
2022-09-17 18:20:28 +02:00
Maximilian Bosch 6b6bb7cdd3
nixos/wiki-js: pin nodejs to v16
v18 is not supported, see https://docs.requarks.io/install/requirements#nodejs
2022-09-17 17:46:20 +02:00
Maximilian Bosch a2969b43bb
linux: remove 5.18
This is long overdue, the last release was almost a month ago, on 21st
Aug 2022[1].

[1] https://lwn.net/Articles/905532/
2022-09-17 17:06:58 +02:00
Jörg Thalheim b140a67163
Merge pull request #180976 from Yarny0/pulseaudio-wrapper
pulseaudioFull: fix wrapGApp wrapping, fix vm tests
2022-09-17 14:45:26 +02:00
Robert Hensing 5b52d552cb nixos/make-options-doc: Explain docbook to markdown migration 2022-09-17 13:38:23 +01:00
github-actions[bot] 568df7e30a
Merge master into staging-next 2022-09-17 12:01:34 +00:00
Sandro 8ad3fe7279
Merge pull request #180598 from madonius/package/alps 2022-09-17 13:56:16 +02:00
Emmanouil Kampitakis 85f0887662 nixos/alps: init module 2022-09-16 22:29:11 +02:00
Tako Marks a0f2ca21da libvirtd: add zfs storage driver tests 2022-09-16 22:04:24 +02:00
Stig Palmquist c24975c50a
release-notes: mention perl 5.36 and verify_SSL patch 2022-09-16 18:54:52 +02:00
aszlig 373feb46cf
nixos: Only use compatible kernels for ZFS tests
Right now, the latest kernel is version 5.19, for which there is no
compatible upstream release for ZFS. However, our NixOS VM test always
uses linuxPackages_latest and thus will fail with an evaluation error
most of the time when a new mainline kernel is released.

Since we expose a latestCompatibleLinuxPackages attribute for the ZFS
packages, we already know what's the latest kernel version that is
supported so let's use that instead of linuxPackages_latest.

Signed-off-by: aszlig <aszlig@nix.build>
2022-09-16 14:58:31 +02:00
oxalica c5c42d4fbe nixos/systemd-stage-1: include modprobe confg in initrd 2022-09-16 20:54:04 +08:00
github-actions[bot] c9b3f8501c
Merge master into staging-next 2022-09-16 12:01:25 +00:00
Jonas Heinrich 22c17bd5f3
Merge pull request #186940 from NickCao/stratis-cli
stratis-cli: init at 3.2.0
2022-09-16 13:40:17 +02:00
github-actions[bot] 40936b496d
Merge master into staging-next 2022-09-16 00:03:19 +00:00
Sandro c2e7745b08
Merge pull request #190060 from revol-xut/master 2022-09-15 21:30:27 +02:00
Dmitry Kalinkin 38077e4262 Merge branch 'master' into staging-next 2022-09-15 12:35:02 -04:00
digital 12d64e041b nixos/networking: add a suggestion to use networkd options 2022-09-15 18:07:24 +02:00
Kerstin 1637945189
Merge pull request #189975 from Tasqa/kanidm-cacerts-fix
nixos/kanidm: Add cacerts path to unixd service
2022-09-15 16:28:21 +02:00
Vladimír Čunát 6f93907d13
Merge branch 'staging' into staging-next 2022-09-15 15:20:31 +02:00
Vladimír Čunát 5da8f2bb32
Merge #188381: Fix glibc locales on cross endian
...into staging
2022-09-15 12:39:03 +02:00
Martin Weinelt 465d9af681
Merge pull request #191150 from NickCao/synapse 2022-09-15 02:10:11 +02:00
Artturi dbc00be498
Merge pull request #190358 from ck3d/fix-nixos-cross 2022-09-14 19:15:23 +03:00
Andre-Patrick Bubel 8a9ffb1b0b nixosTests.paperless: check if /metadata/ can be accessed
Detects issues like #190850, when gunicorn python version doesn't match
that of paperless.
2022-09-14 16:20:47 +02:00
Domen Kožar efdea4930c
Merge pull request #187857 from Sohalt/remove-dd-agent
dd-agent: remove
2022-09-14 13:25:50 +01:00
Armeen Mahdian aa20ba5563 dd-agent: remove 2022-09-14 14:11:14 +02:00
Sandro c1831f6c90
Merge pull request #182329 from linsui/safeeyes
safeeyes: fix double wrap
2022-09-14 12:30:09 +02:00
Jonas Heinrich d990f88f9f nixos/go-autoconfig: init module 2022-09-14 02:21:39 -04:00
Nick Cao 65cefcd588
matrix-synapse: 1.66.0 -> 1.67.0 2022-09-14 14:20:23 +08:00
John Soo 026e83a4a8
nixos/self-deploy: add gzip to path
The service fails without it.
2022-09-13 16:43:00 -07:00
Florian Klink a81b6401f6
Merge pull request #191032 from yu-re-ka/systemd-nixos-utmp
nixos/systemd: conditionally include systemd-update-utmp upstream unit
2022-09-13 11:26:07 +02:00
Domen Kožar 2f22b267c5
Merge pull request #190959 from pennae/cachix-host-type
nixos/cachix-agent: fix type for host option
2022-09-13 10:08:00 +01:00
Yureka 19686a4452 nixos/systemd: conditionally include systemd-update-utmp upstream unit 2022-09-13 10:34:28 +02:00
Brian Leung c231a20d98 nixos/lemmy: move systemd script to serviceConfig
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-09-12 18:39:54 -04:00
a-kenji 5519e1b89b nixos/lemmy: remove services.lemmy.jwtSecretPath
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: Brian Leung <leungbk@posteo.net>
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-09-12 18:39:54 -04:00
Franz Pletz 772baccfb1
Merge pull request #190947 from jsoo1/jsoo1/self-deploy-tar 2022-09-12 23:43:47 +02:00
Guillaume Girol a47cfca9af
Merge pull request #189744 from symphorien/vaultwarden-service
nixos/vaultwarden: misc fixes
2022-09-12 19:26:39 +00:00
Christian Kögler 3c263e491c
Merge pull request #190771 from ck3d/fix-nixos-nspawn-privateusers
nixos/nspawn: Fix configuration name PrivateUsersOwnership
2022-09-12 21:02:51 +02:00
pennae 070b3966fc
nixos/cachix-agent: fix type for host option 2022-09-12 20:47:05 +02:00
Tako Marks fb3f7d70b4 nixos/kanidm: Add unixd test
Test makes sure unixd is able to run and is able to query the server.
2022-09-12 20:25:04 +02:00
Frederik Rietdijk 4e62b94df3 Merge master into staging-next 2022-09-12 19:03:50 +02:00
John Soo f0f4ad0cb0
nixos/self-deploy: add tar to path.
Previously it was missing, and the service would fail.
2022-09-12 09:08:43 -07:00
Nick Cao 6ec928d73d
nixos/stratis: wait for devices to appear in tests 2022-09-12 23:49:52 +08:00
Erik Arvstedt fdead18e9e
nixos/paperless: use python from pkg for gunicorn
This ensures that a compatible `gunicorn` is used when `pkg` is
overridden.
2022-09-12 09:20:53 +02:00
Nick Cao 4abf0ee793
nixos/stratis: add test for simple usecases 2022-09-12 15:19:36 +08:00
Nick Cao ca03f2dc0f
nixos/stratis: init 2022-09-12 15:19:36 +08:00
github-actions[bot] 33ef8defa2
Merge master into staging-next 2022-09-12 00:02:43 +00:00
Luke Granger-Brown 9974dcfc20
Merge pull request #190717 from lukegb/paperless-tz
nixos/paperless: fix time.timeZone setting
2022-09-11 22:45:25 +01:00
Domen Kožar fbc23b491a cachix-agent: add host option 2022-09-11 21:18:09 +01:00
github-actions[bot] 6ec60fd222
Merge master into staging-next 2022-09-11 18:01:19 +00:00
Matthieu Coudron 1f8f2c5a57
Merge pull request #126633 from teto/vim-overlay-doc 2022-09-11 19:15:03 +02:00
Matthieu Coudron 800323c0c0 doc(vim): take into account plug non-support
Apply suggestions from code review

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-11 20:33:01 +02:00
Sandro 30ec7dc641
Merge pull request #156232 from B4dM4n/nixos-tests-mediatomb 2022-09-11 18:18:10 +02:00
Sandro Jäckel 4770866f93
nixos/vector: remove no longer required workaround for cross compiling 2022-09-11 17:11:47 +02:00
Christian Kögler f7077ba131
nixos: Fix cross compilation of derivations defined in NixOS via pkgs 2022-09-11 17:11:37 +02:00
Domen Kožar 3f7ba12868 cachix-agent: fix a typo 2022-09-11 16:10:21 +01:00
Jason Yundt 17352e8995 nixos/security/wrappers: clarify required format for capabilities
Before this change, the description for
security.wrappers.<name>.capabilities made it seem like you could just
string together the names of capabilities like this:

  capabilities = "CAP_SETUID,CAP_SETGID";

In reality, each item in the list must be a full-on capability clause:

  capabilities = "CAP_SETUID=ep,CAP_SETGID+i";
2022-09-11 16:36:58 +02:00
Christian Kögler 11bafe6b5b nixos/syncthing: remove exit code 2 from exit status success
Fix #181713
2022-09-11 16:21:07 +02:00
Luke Granger-Brown 55d9a2c596 nixos/paperless: fix time.timeZone setting
This attribute set isn't passed through the NixOS config resolution
mechanism, which means that we can't use lib.mkDefault here.

Instead, just put it before any user overrides so that if the user
specifies this environment variable it'll just override it anyway.
2022-09-11 15:01:47 +01:00
Christian Kögler cfbf9bd15c nixos/nspawn: Fix configuration name PrivateUsersOwnership
Fix #189046
2022-09-11 13:08:36 +02:00
Vladimír Čunát a3d7dfe8a3
Merge branch 'master' into staging-next 2022-09-11 08:43:51 +02:00
Christian Kögler 0ea763fab6
Merge pull request #188009 from martiert/fido2luks
nixos/luksroot: Support adding a list of credentials to fido2luks
2022-09-11 07:42:57 +02:00
Christian Kögler 8a039bc1dd
Merge pull request #190634 from ck3d/fix-nixos-influx-cross
nixos/influx: Fix cross compilation for configFile
2022-09-11 07:29:59 +02:00
github-actions[bot] b6caee49dc
Merge master into staging-next 2022-09-11 00:02:48 +00:00
Sandro f0f614616f
Merge pull request #190646 from Ma27/bump-nextcloud 2022-09-11 00:34:54 +02:00
Maximilian Bosch f72099e0cd
nixos/nextcloud: fix a deprecation warning in the tests using redis 2022-09-10 23:53:40 +02:00
Markus S. Wamser b20df24e2c
nixos/ausweisapp: init module with firewall option
Optional functionality of AusweisApp2 requires an UDP port to be opened.
The module allows for convenient configuration and serves as documentation.
See also https://github.com/NixOS/nixpkgs/issues/136269
2022-09-10 23:48:20 +02:00
github-actions[bot] cf964b46ea
Merge master into staging-next 2022-09-10 18:01:15 +00:00
Jörg Thalheim 67db9b4ad1
Merge pull request #190695 from Mic92/gollum
nixos/gollum: add package option
2022-09-10 18:27:29 +02:00
pennae d98322834b nixos/*: fix docbook deprecation notices
mostly no rendering changes except in buildkite, which used markdown
where docbook was expected without marking up its markdown.
2022-09-10 18:23:13 +02:00
pennae 767485a0de lib/options: deprecate docbook text and literalDocBook
deprecate literalDocBook by adding a warning (that will not fire yet) to
its uses and other docbook literal strings by adding optional warning
message to mergeJSON.
2022-09-10 18:23:13 +02:00
Jörg Thalheim ad0108d803 nixos/gollum: add test 2022-09-10 18:09:08 +02:00
Jörg Thalheim 6a66cf1b90 nixos/gollum: add package option 2022-09-10 17:57:08 +02:00
Florian Klink d20ff65f00
Merge pull request #188314 from cw1o/docs/update-mbr-partition-steps
nixos/docs: updated MBR partitioning steps
2022-09-10 14:12:23 +02:00
Christian Kögler 330bc02b01 nixos/influx: Fix cross compilation for configFile 2022-09-10 08:10:24 +02:00
github-actions[bot] 5644fd38ad
Merge master into staging-next 2022-09-10 00:02:45 +00:00
Sandro f58312c4da
Merge pull request #190103 from kilianar/nixosTests.gitea 2022-09-09 23:36:03 +02:00
github-actions[bot] c1ff69e1da
Merge master into staging-next 2022-09-09 18:01:29 +00:00
Silvan Mosberger 6389a26e5f
Merge pull request #181834 from ncfavier/numbers
lib/types: add `number`
2022-09-09 19:59:29 +02:00
Sandro Jäckel 08dd3b91ea nixos/vector: fix validation for cross compiling 2022-09-09 11:59:07 -04:00
Christian Kögler 6ee982a34e
Merge pull request #190498 from eskytthe/grafana-module-fix-text
nixos/grafana: fix description text error
2022-09-09 17:55:26 +02:00
Christian Kögler b3c8810040
Merge pull request #186695 from amarshall/installer-no-mkforce
nixos/installer: mkForce -> mkImageMediaOverride
2022-09-09 17:32:17 +02:00
Christian Kögler 4b6b03f99c
Merge pull request #185782 from e1mo/e1mo/syncthing-receiveencrypted
nixos/syncthing: Add receiveencrypted folder type
2022-09-09 17:30:45 +02:00
Christian Kögler d44b9d665c
Merge pull request #189201 from jmbaur/ipv6-route-prefix-example
nixos/systemd.network: Fix `ipv6RoutePrefixes` example
2022-09-09 17:05:36 +02:00
Erik Skytthe 3c1c405e72 nixos/grafana: fix description text error
Description text has been placed incorrectly for allowedDomains and allowedGroups
2022-09-09 15:55:15 +02:00
Naïm Favier 52bbbaeb09
nixos/doc/option-types: add precision loss warning for floats 2022-09-09 15:39:35 +02:00
github-actions[bot] a43d6b1a9a
Merge master into staging-next 2022-09-09 12:01:31 +00:00
Sandro b41f6fe581
Merge pull request #189957 from illustris/proxmox-vm 2022-09-09 11:45:16 +02:00
Brian Leung b7f19802af services/lemmy: fix /feeds/* and /nodeinfo/* API endpoints
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Matthias Meschede <MMesch@users.noreply.github.com>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-09 05:18:02 -04:00
github-actions[bot] 1c0ef46804
Merge master into staging-next 2022-09-09 00:02:46 +00:00
Yureka bb5b6029aa
Revert "nixos/console: detect unicode properly"
This reverts commit 05958b228b.

Issue https://github.com/NixOS/nixpkgs/issues/188998 is concerns quite a
few NixOS users with full disk encryption and custom keymap.
Since there hasn't been a proper fix agreed upon and merged, I am
reverting this.
The changes can be applied again, when it is ensured that they do not
break custom keymaps in initrd.
2022-09-08 23:11:45 +02:00
Ivv ac5e7351d1
Merge pull request #188754 from snaar/prometheus-ipmi
nixos/services.prometheus.exporters.ipmi: new module along with underlying ipmi_exporter package
2022-09-08 21:39:49 +02:00
illustris e7ec55a72d
nixos/proxmox-image: fix broken build, reduce build time 2022-09-08 08:26:02 +05:30
kilianar e9b99943dd nixosTests.gitea.*: adapt to option renaming 2022-09-07 09:51:45 +02:00
revol-xut 0e291be644
mediawiki: fix correctly setting --dbtype flag 2022-09-06 22:17:47 +02:00
Jason Woofenden 7e5617aa7a nixos/doc: fix acme dns-01 example
Summary: fix errors with example code in the manual that shows how to set up DNS-01 verification via the acme protocol, e.g. for those who want to get wildcard certificates from Let's Encrypt.

Fix syntax error in nix arrays (there should not be commas.)

Fix permissions on /var/lib/secrets so it can be read by bind daemon. Without this fix bind won't start.

Add the missing feature: put the generated secret into certs.secret
2022-09-06 16:03:22 -04:00
github-actions[bot] 01253f131d
Merge master into staging-next 2022-09-06 18:01:13 +00:00
Bernardo Meurer 0627237785
Merge pull request #181334 from zhaofengli/nat-iptables-pkg
nixos/nat: Use the package specified in networking.firewall.package
2022-09-06 14:05:20 -03:00
Francesco Gazzetta 2f32fe9e6d vengi-tools: 0.0.20 -> 0.0.21 2022-09-06 16:00:26 +02:00
Tako Marks 3df41451e3 nixos/kanidm: Bind mount cacert path in unixd service
In order to be able to use the unixd service with the `verify_ca` and
`verify_hostnames` set to `true` it needs to be able to read the
certificate store. This change bind mounts the cacert paths for the
unixd service.
2022-09-06 15:01:37 +02:00
Jacek Galowicz 8ae3e986a7
Merge pull request #189999 from sbruder/test-driver-formatting-closed-port
nixos/test-driver: fix formatting of closed port
2022-09-06 14:48:13 +02:00
Simon Bruder 9caf5f6ba9
nixos/test-driver: fix formatting of closed port
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-09-06 14:32:56 +02:00
github-actions[bot] 15740e0788
Merge master into staging-next 2022-09-06 12:01:31 +00:00
Luke Granger-Brown 8157e3d89f
Merge pull request #189934 from delroth/grafana-sandboxing
nixos/grafana: loosen systemd syscall sandboxing
2022-09-06 09:36:23 +01:00
Pierre Bourdon bfe73f9543
nixos/grafana: loosen systemd syscall sandboxing
Allow @resources syscalls in the grafana.service unit. While Grafana
itself does not need them, some plugins (incl. first party) crash if
they fail to setrlimit. This was first seen with the official grafana
Clickhouse datasource plugin.

The @resources syscalls set is fairly harmess anyway.
2022-09-06 02:10:47 +02:00
github-actions[bot] 1fcb01e547
Merge master into staging-next 2022-09-05 18:01:15 +00:00
Martin Weinelt 9ac9449a0a nixos/tests/kanidm: Update recover_account commandline
The username is now passed directly as an argument.
2022-09-05 17:13:10 +02:00
Fabian Möller 86bfd15732
nixos/tests/mediatomb: fix test when running with gerbera 2022-09-05 17:06:54 +02:00
Sandro a8737efd40
Merge pull request #187913 from ncfavier/ibus 2022-09-05 16:13:21 +02:00
Sandro 2902676b30
Merge pull request #189056 from jtojnar/fwupd 2022-09-05 16:13:00 +02:00
Fabian Möller f3e08ac0b1
nixos/mediatomb: wait for network-online.target 2022-09-05 16:03:01 +02:00
Martin Weinelt 268569b6d8
Merge pull request #189852 from erikarvstedt/paperless-pythonpath 2022-09-05 15:26:20 +02:00
Erik Arvstedt 783f8f16c1
paperless: move PYTHONPATH definition to module
`paperless-ngx.pythonPath` was incomplete due to the missing paperless-ngx
source, so it had to be amended in the service.
Instead of amending it, define it entirely in the service.

This allows an override of `paperless-ngx.propagatedBuildInputs` to be reflected
in the service's PYTHONPATH.
2022-09-05 14:50:45 +02:00
github-actions[bot] dc6009a527
Merge master into staging-next 2022-09-05 12:01:27 +00:00
Maciej Krüger ff7a59b802
Merge pull request #189824 from bobby285271/cinnamon-nixos-test 2022-09-05 13:05:04 +02:00
Minijackson 09df3d5515
nixos/i18n: use glibcLocales from the host packages
The locale-archive is dependent on the endianness of the host system
2022-09-05 12:57:53 +02:00
Bobby Rong 271b5dc25e
nixos/tests/cinnamon: init 2022-09-05 18:48:58 +08:00
Théo Zimmermann 0daa4b200c
Merge pull request #189721 from Zimmi48/changelog-for-coqide-split
coq: document CoqIDE split
2022-09-05 10:37:23 +02:00
Erik Arvstedt 310b9fe58d
nixos/paperless: extract variable pkg 2022-09-05 10:03:59 +02:00
penglei 6393cb765e nixos/boot/stage-1-init: umount /findiso in stage-1 2022-09-05 08:59:29 +08:00
github-actions[bot] f8118e6f67
Merge master into staging-next 2022-09-05 00:02:45 +00:00
Michele Guerini Rocco e8e48a7a53
Merge pull request #189749 from ncfavier/console-colors-check
nixos/console: add format check to `console.colors`
2022-09-04 21:56:06 +02:00
Martin Weinelt 0973090c9b
Merge pull request #189730 from mweinelt/paperless-release-notes 2022-09-04 21:45:04 +02:00
Naïm Favier cb40619996
nixos/console: add format check to console.colors 2022-09-04 21:09:08 +02:00
Jan Tojnar 89c025b366 nixos/fwupd: add polkit dependency
We are building fwupd daemon with polkit support which means
polkit daemon is required.

Previously polkit was enabled by default via udisks2 but that
stopped with f763710065
breaking the fwupd installed tests as a result.

Let’s add the polkit dependency to the fwupd module to ensure polkit is available.
2022-09-04 20:23:12 +02:00
github-actions[bot] 0ce8328301
Merge master into staging-next 2022-09-04 18:01:33 +00:00
Jonas Heinrich bdd227c300
Merge pull request #184827 from onny/dokuwiki
dokuwiki: 2020-07-29 -> 2022-07-31
2022-09-04 19:08:45 +02:00
Naïm Favier 3a2f99340c
ibus: fix installed tests 2022-09-04 18:52:45 +02:00
Martin Weinelt b36cd65ad1
rl-2211: Mention new paperless timezone default 2022-09-04 16:38:07 +02:00
Martin Weinelt f98011803e
nixos/paperless: Restrict CAP_NET_BIND_SERVICE
Handing CAP_NET_BIND_SERVICE to the `paperless-web.service` only makes
sense when it actually wants to bind to a port < 1024. Don't hand it out
if that is not the case.
2022-09-04 16:24:24 +02:00
Martin Weinelt 2d257f8101
nixos/paperless: Add pgsql via unix socket example
Finding out how to connect paperless to a PostgreSQL database via unix
sockets and peer authentication took me a few minutes, so leaving a hint
in the extraConfig example seems like a good idea to me.

Also remove unnecessary use of literalExpression for attribute set, it
is only required for complex values like functions or values that depend
on other values or packages.
2022-09-04 16:16:46 +02:00
Martin Weinelt 81a17f7352
nixos/paperless: Use system timezone by default, if set 2022-09-04 16:16:46 +02:00
Martin Weinelt 94f00041f0
nixos/paperless: Allow mbind syscall in paperless-web.services
After uploading a document through the webinterface I started seeing
it killed through the SYSBUS signal. Inspecting the call trace led me to
liblapack's memory allocator, that uses the mbind syscall on Linux.
2022-09-04 16:16:45 +02:00
Michele Guerini Rocco 68065dc561
Merge pull request #189711 from SuperSandro2000/gnupg-remote-quiet
nixos/gnupg: void error messages when using nix remote builders
2022-09-04 14:53:34 +02:00
Sandro Jäckel 0d44562788
nixos/gnupg: void error messages when using nix remote builders 2022-09-04 14:38:15 +02:00
Sandro 2f54aad5e6
Merge pull request #156813 from JQ-Networks/master 2022-09-04 14:32:13 +02:00
Théo Zimmermann eb7d9127e0
coq: document CoqIDE split
Changelog for #180385.
2022-09-04 14:27:29 +02:00
github-actions[bot] 689376a5c1
Merge master into staging-next 2022-09-04 12:01:32 +00:00
Guillaume Girol 70b8ef1df6 nixos/vaultwarden: fix typo in timer alias 2022-09-04 12:00:00 +00:00
Guillaume Girol 7160e94e27 nixos/vaultwarden: fix race with backup
when vaultwarden starts while backup-vaultwarden.service is running, it
fails because the sqlite database is locked
2022-09-04 12:00:00 +00:00
Guillaume Girol 7d009061c9 nixos/vaultwarden: Restart=always
there is no reason vaultwarden should remain not started
2022-09-04 12:00:00 +00:00
Aaron Andersen 5b62b0d2ce
Merge pull request #189635 from RaitoBezarius/nixos/dolibarr
dolibarr: init at 15.0.3, nixos/dolibarr: init
2022-09-04 07:55:34 -04:00
bb2020 ccd367ae4f nixos/minidlna: fix tests 2022-09-04 09:07:40 +00:00
bb2020 ce609256fb nixos/minidlna: update documentation 2022-09-04 09:07:40 +00:00
Alyssa Ross 16591184b4 nixos/no-x-libs: remove X libs from ffmpeg
Prior to this change, ffmpeg couldn't be built for an
environment.noXlibs system, because it would fail in:

	ffmpeg → SDL2 → libdecor

ffmpeg certainly does not need support for SDL2 windowing on a noXlibs
system.

This fix is important because the minidlna NixOS test, which uses the
minimal profile (and therefore environment.noXlibs) and ffmpeg, can't
currently build.
2022-09-04 08:44:19 +00:00
Alyssa Ross 46b6619cb3 nixos/no-x-libs: use libva-minimal
The primary difference between the standard and minimal variants of
this package is that all the X libraries are removed from the minimal
variant.

I had to switch the order of the definitions in all-packages.nix to
avoid an infinite recursion after the overlay was applied.
2022-09-04 08:44:19 +00:00
Alyssa Ross 97a8e05ae5 nixos/no-x-libs: realphabetize
This list was very nearly alphabetized, so let's restore the order
before it gets out of hand.
2022-09-04 08:44:19 +00:00