Commit graph

1071 commits

Author SHA1 Message Date
github-actions[bot] 4f07e7f326
Merge master into staging-next 2022-10-15 06:07:54 +00:00
zowoq bb884d6a1e nixosTests.traefik: enable on aarch64-linux 2022-10-15 14:29:46 +10:00
zowoq ff30f8a429 nixosTests.podman*: enable on aarch64-linux 2022-10-15 14:29:46 +10:00
zowoq d50ee203f7 nixosTests.oci-containers: enable on aarch64-linux 2022-10-15 14:29:46 +10:00
zowoq 0a8746ca85 nixosTests.{docker,docker-rootless}: enable on aarch64-linux 2022-10-15 14:29:46 +10:00
zowoq 9286419109 nixosTests.cri-o: enable on aarch64-linux 2022-10-15 14:29:46 +10:00
zowoq 8b4bbd6919 nixosTests.cfssl: enable on aarch64-linux 2022-10-15 14:29:46 +10:00
github-actions[bot] cc090d2b94
Merge master into staging-next 2022-10-14 12:01:35 +00:00
Ninjatrappeur 8e3b02dc7d
Merge pull request #194916 from flokli/nixos-test-nscd 2022-10-14 11:54:37 +02:00
github-actions[bot] 62bcf0ac62
Merge staging-next into staging 2022-10-13 12:02:06 +00:00
Vladimír Čunát 00a757ed3f
Merge branch 'master' into staging 2022-10-13 08:27:55 +02:00
K900 5e62c78f4b nixos/plasma5: add very basic plasma-bigscreen module 2022-10-12 17:15:56 +03:00
Florian Klink 3ff0a8f840
Merge pull request #189676 from zhaofengli/cryptenroll
systemd: Fix systemd-{cryptenroll,cryptsetup} TPM2 and FIDO2 support (attempt #3)
2022-10-12 00:56:04 +02:00
Martin Weinelt d97e915faf
nixos/tests/chromium: Enable on aarch64-linux 2022-10-11 15:33:42 +02:00
Guillaume Girol 6fe43abcfc
Merge branch 'master' into tracee-use-new-wrapper 2022-10-11 09:57:23 +00:00
Kartik Gokte 8d5a404437 nixos/karma: init 2022-10-10 10:46:25 +05:30
github-actions[bot] 3b37795067
Merge staging-next into staging 2022-10-09 18:02:10 +00:00
Sandro f5802f496d
Merge pull request #187026 from azahi/endlessh-go 2022-10-09 16:50:02 +02:00
Florian Klink 1224368495 nixosTests.nscd: init, move DynamicUser test into there
nixosTests.systemd is quite heavy, it requires a full graphical system,
which is quite a big of a rebuild if the only thing you want to test is
whether dynamic users work.

This is now moved to an `nscd` test, which tests various NSS lookups,
making extra sure that the nscd path is tested, not the fallback path
(by hiding /etc/nsswitch.conf and /etc/hosts for getent).

nixosTests.resolv is removed. It didn't check for reverse lookups,
didn't catch nscd breaking halfway in between, and also had an
ambiguous reverse lookup - 192.0.2.1 could either reverse lookup to
host-ipv4.example.net, or host-dual.example.net.
2022-10-07 14:19:56 +02:00
github-actions[bot] 8a69058a29
Merge staging-next into staging 2022-10-05 18:08:07 +00:00
José Luis Lafuente 396f4f05b9
nixos/tmate-ssh-server: init module (#192270)
* nixos/tmate-ssh-server: init module

Co-authored-by: Aaron Andersen <aaron@fosslib.net>
2022-10-05 17:34:30 +01:00
oxalica 78f929c5a6 nixos/tests/systemd-initrd-luks-fido2: init 2022-10-05 08:22:53 -06:00
Jamie McClymont 9e9637ecb6 nixos/tests/systemd-initrd-luks-tpm2: init 2022-10-05 08:22:51 -06:00
github-actions[bot] 855f2990f1
Merge staging-next into staging 2022-10-05 12:02:14 +00:00
Florian Klink c1c406bc87
Merge pull request #191491 from oxalica/fix/systemd-initrd-modprobe
nixos/systemd-stage-1: include modprobe confg in initrd
2022-10-05 10:39:58 +02:00
oxalica 3c92009868 nixos/tests/systemd-initrd-modprobe: init 2022-10-05 08:37:51 +08:00
github-actions[bot] d426366b62
Merge staging-next into staging 2022-10-05 00:05:03 +00:00
Florian Klink 72911a27bb
Merge pull request #193502 from phaer/systemd-portabled
Support systemd-portabled
2022-10-04 21:39:39 +02:00
oxalica dad24c51c1 systemd-no-tainted: init as regression test 2022-10-05 01:03:24 +08:00
Sandro b70049a463
Merge pull request #183349 from Luflosi/rename-ipfs-to-kubo 2022-10-03 21:34:14 +02:00
Sandro 1385382014
Merge pull request #191532 from ambroisie/add-tandoor-recipes 2022-10-03 20:25:06 +02:00
Bruno BELANYI 91ba8464f4 nixos/tandoor-recipes: add test 2022-10-03 09:48:54 +02:00
Luflosi eefaaf41d6
kubo: rename from ipfs
Go-IPFS was renamed to Kubo in version 0.14.0, see https://github.com/ipfs/kubo/issues/8959.
2022-10-02 16:00:22 +02:00
06kellyjac 1a90756aa7 tracee: 0.7.0 -> 0.8.3
Also simplified the package since after #176152 the tracee build process can
now pass in a -target of bpf without weird overrides
2022-10-02 11:45:08 +01:00
Kira Bruneau f185f71ed8
Merge pull request #192154 from kira-bruneau/linuxPackages.xpadneo
linuxPackages.xpadneo: 0.9.4 -> 0.9.5
2022-10-01 07:39:12 -04:00
phaer 466b73d659 nixos/tests: init systemd-portabled
Please enter the commit message for your changes. Lines starting
2022-09-30 15:21:45 +02:00
Sandro c1487a18d1
Merge pull request #186990 from fgaz/ladybird/2022-08-14 2022-09-30 14:46:51 +02:00
Robert Hensing aed1deab05 nixos/testing: Fix release.nix tests evaluation
Fixes the problem introduced by 12b3066aae
which caused nixos/release.nix to return the wrong attributes, while
intending to only affect nixos/lib's runTest.
This also removes callTest from the test options, because callTest is
only ever invoked by all-tests.nix.
2022-09-29 10:49:09 +02:00
Vladimír Čunát 8ba120420f
Merge #191339: staging-next 2022-09-15 2022-09-29 09:16:47 +02:00
Lassulus af364a3655
Merge pull request #190172 from Stunkymonkey/init-freshrss 2022-09-28 23:11:33 +02:00
Felix Buehler 0b204f0c28 freshrss: init at 1.20.0, tests and module 2022-09-28 22:46:15 +02:00
Robert Scott 3785988a46
Merge pull request #191331 from helsinki-systems/init/varnish72
varnish72: init at 7.2.0
2022-09-28 19:59:57 +01:00
Martin Weinelt 7da8d25d87 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-28 17:15:11 +02:00
Bernardo Meurer 2e0cca58f0
Merge pull request #169613 from helsinki-systems/feat/systemd-oomd 2022-09-28 09:53:49 -03:00
Robert Hensing 7f0d934f9a
Merge pull request #191540 from hercules-ci/nixosTest-modular
nixosTest: make modular
2022-09-28 10:27:45 +01:00
ajs124 85e999f902 nixos/tests/varnish: init 2022-09-27 21:45:27 +02:00
Francesco Gazzetta 2c81cda2f6 nixosTests.ladybird: init 2022-09-26 17:04:52 +02:00
Frederik Rietdijk de57d754a0 Merge master into staging-next 2022-09-26 09:31:22 +02:00
Sandro d374d79d89
Merge pull request #190496 from NukaDuka/kthxbye 2022-09-25 23:43:29 +02:00
Martin Weinelt 68c0ca4416 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-25 21:36:31 +02:00
Kartik Gokte 5a93846946 nixos/kthxbye: init 2022-09-26 00:16:03 +05:30
zowoq de80fd541f cntr: only run nixosTests on aarch64/x86_64 2022-09-25 07:38:14 +10: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
Azat Bahawi 99dc9b9c16
nixos/endlessh-go: init module 2022-09-23 23:55:54 +03: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
Sandro fad61ad09c
Merge pull request #188949 from RaitoBezarius/listmonk-module 2022-09-21 23:42:03 +02:00
lassulus 0877e1f716 nixos-tests: bring back quake3 test 2022-09-21 22:26:03 +02:00
Raito Bezarius 6b891f4788 nixos/listmonk: init module 2022-09-21 19:55:20 +02: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 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 3c09cb2363 nixos/all-tests.nix: Improve runTest for release.nix
... and add runTestOn.
2022-09-21 10:55:11 +01:00
Kira Bruneau 2a916b6c29 nixos/xpadneo: add sanity test 2022-09-20 20:07:11 -04: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
Nick Cao 4abf0ee793
nixos/stratis: add test for simple usecases 2022-09-12 15:19:36 +08:00
github-actions[bot] cf964b46ea
Merge master into staging-next 2022-09-10 18:01:15 +00:00
Jörg Thalheim ad0108d803 nixos/gollum: add test 2022-09-10 18:09:08 +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
Bobby Rong 271b5dc25e
nixos/tests/cinnamon: init 2022-09-05 18:48:58 +08:00
github-actions[bot] fccce1e603
Merge master into staging-next 2022-09-03 18:01:21 +00:00
Federico Beffa 8be4e9e2ec nixos/service/languagetool: init 2022-09-03 16:48:43 +02:00
github-actions[bot] 261dbce5a5
Merge master into staging-next 2022-09-02 12:01:19 +00:00
Brian Leung cbf8e91772 nixos/tests/lemmy: init
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: cab <cab404@mailbox.org>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Matthias Meschede <MMesch@users.noreply.github.com>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-09-02 05:55:11 -04:00
Janne Heß 3284f4fa19
nixos/systemd-oomd: Add a new module + test 2022-08-31 13:24:32 +02:00
Vladimír Čunát f08ac2c92b
Merge branch 'master' into staging-next 2022-08-29 08:58:52 +02:00
Jake Hamilton ff997b83e1
nixos/writefreely: init 2022-08-28 16:29:14 -07:00
Martin Weinelt 249398ffa8 Merge remote-tracking branch 'origin/staging-next' into staging 2022-08-25 00:32:27 +02:00
Alexander Bantyev f8594cd431
Merge pull request #186669 from misuzu/netbird-init
netbird: init at 0.8.9
2022-08-23 14:02:48 +04:00
Franz Pletz 38c67944cb nixos/tests/libvirtd: init 2022-08-22 22:41:32 +02:00
misuzu c1ba9c9c8b nixosTests.netbird: init 2022-08-22 16:37:43 +03:00
Vincent Haupert ca0120a4bc systemd: enable BPF_FRAMEWORK by default (withLibBPF=true)
So far, we have been building Systemd without `BPF_FRAMEWORK`. As a
result, some Systemd features like `RestrictNetworkInterfaces=` cannot
work. To make things worse, Systemd doesn't even complain when using a
feature which requires `+BPF_FRAMEWORK`; yet, the option has no effect:

    # systemctl --version | grep -o "\-BPF_FRAMEWORK"
    -BPF_FRAMEWORK
    # systemd-run -t -p RestrictNetworkInterfaces="lo" ping -c 1 8.8.8.8

This commit enables `BPF_FRAMEWORK` by default. This is in line with
other distros (e.g., Fedora). Also note that BPF does not support stack
protector: https://lkml.org/lkml/2020/2/21/1000. To that end, I added a
small `CFLAGS` patch to the BPF building to keep using stack protector
as a default.

I also added an appropriate NixOS test.
2022-08-21 12:22:16 +02:00
Gauvain 'GovanifY' Roussel-Tarbouriech 6c55578c7e nixos/komga: add module 2022-08-18 22:52:27 -04:00
ckie 30ad2e1c12
Merge pull request #162484 from jappeace/keter-module
nixos/keter: init at 2.0.1
2022-08-18 15:44:05 +03:00
Jappie Klooster a4d72ad628
nixos/keter: init
Enable keter module

Keter is an apploader which:
1. has the old app running on a port.
2. loads a new one, and wait for that to complete
3. switches the old with the new one once the new one finished loading.

It supports more functionality but this use case
is the primary one being used by supercede.

Adds keter as a module to nixos.
Currently keter is unusable with nix,
because it relies on bundeling of a tar and uploading that to a specific folder.
These expressions automate these devops tasks,
with especially nixops in mind.
This will work with versions above 1.8

The test seems to work.
This uses a new version of keter which has good
support for status code on error pages.
We're using this config at production at supercede
so it should be fine.

Squash log:
==========

mention keter in changelog

Update generated release notes

Always restart keter on failure

This is a little bit of extra stability in case keter crashes.
Which can happen under extreme conditions (DoS attacks).

Update nixos/doc/manual/release-notes/rl-2205.section.md

Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>

Update nixos/modules/module-list.nix

Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>

Remove sanitization

don't put domain in as a string

Update nixos/tests/keter.nix

Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>

add jappie as module maintainer

Use type path instead of two seperate options

Fix generated docs

added test machinery to figure out why it's failing

Fix the test, use console output

run nixpkgs-fmt on all modules

Inline config file.

This get's rid of a lot of inderection as well.

Run nix format

remove comment

simplify executable for test

delete config file

add config for keter root

Remove after redis clause

set keter root by default to /var/lib/keter

Update nixos/modules/services/web-servers/keter/default.nix

Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>

Update nixos/modules/services/web-servers/keter/default.nix

Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>

Update nixos/modules/services/web-servers/keter/default.nix

Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>

fix nit

add newlines

add default text and move description in a long description

Delete rather obvious comment

fix release db thing

remove longDescription and put it in a comment instead

change description of mkEnalbeOption

explain what keter does by using the hackage synopsis

set domain to keterDomain and same for executable

move comment to where it's happening

fix type error

add formatting better comment

try add seperate user for keter

Revert "try add seperate user for keter"

This reverts commit d3522d36c96117335bfa072e6f453406c244e940.

Doing this breaks the setup

set default to avoid needing cap_net_bind_service

remove weird comment

use example fields

eleborated on process leakage

Update nixos/modules/services/web-servers/keter/default.nix

Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>

run nixpkgs-fmt

update docs

Fix formatting, set keter package by default

format our little nixexpr

replace '' -> " where possible

drop indent for multiline string

make description much shorter

regen docs database
2022-08-18 15:29:47 +03:00
Maximilian Bosch 9e8ea1b855
Merge pull request #183717 from NetaliDev/mysql-auth
nixos: add mysql/mariadb user authentication module
2022-08-16 20:30:16 +02:00
Paul-Henri Froidmont d2ce318bd4 nixos/patroni: init 2022-08-16 18:57:15 +02:00
Robert Hensing 661c29c806
Merge pull request #181222 from hercules-ci/module-specialArgs
`_module.specialArgs` + unit test for nixos/documentation module
2022-08-08 11:53:10 +02:00
Netali e23ace6268
nixos/mysql-auth: add VM-Test 2022-08-06 19:43:34 +02:00
squalus 257db1dd4a nixos: systemd-coredump: improve disabled state
The systemd-coredump module required systemd to be built with
withCoredump=true, even if the module was disabled.

- allow systemd to be missing systemd-coredump if the module is disabled
- switch to mkDefault for the sysctl config to allow user overrides when
  the module is disabled
- add nixos tests for both the enabled and disabled cases
2022-08-01 09:52:56 -07:00
superherointj 564e99c187
Merge pull request #182445 from euank/k3s-multi-node-test
nixos/tests/k3s: add multi-node test, test basic flannel networking
2022-07-30 16:47:21 -03:00
Euan Kemp d5b1e25711 nixos/tests/k3s: reorganize test into a subdirectory
In preperation for more tests, coming soon.
2022-07-30 11:55:23 -07:00
Rick van Schijndel 9e9f6fc1c3
Merge pull request #152065 from chkno/stunnel-extraConfig
nixos/stunnel: Make free-form
2022-07-26 23:24:31 +02:00
Bjørn Forsman 9b6965dcfc nixos: add lighttpd test 2022-07-26 04:45:03 +02:00
Robert Hensing 9aa588ecc3 nixos/documentation: Add unit test 2022-07-21 15:32:10 +02:00
Winter 96728ff138
Merge pull request #181660 from anoadragon453/anoa/libuiohook_init
libuiohook: init at 1.2.2
2022-07-17 20:38:02 -04:00