authelia: move module under security and minor fixes

Fixed test access to lib
Added nixos test to passthru
This commit is contained in:
06kellyjac 2023-03-27 12:00:07 +01:00
parent af79cc0c5c
commit 9b60eef4bd
4 changed files with 4 additions and 3 deletions

View File

@ -1063,6 +1063,7 @@
./services/search/opensearch.nix
./services/search/qdrant.nix
./services/security/aesmd.nix
./services/security/authelia.nix
./services/security/certmgr.nix
./services/security/cfssl.nix
./services/security/clamav.nix
@ -1210,7 +1211,6 @@
./services/web-apps/zabbix.nix
./services/web-servers/agate.nix
./services/web-servers/apache-httpd/default.nix
./services/web-servers/authelia.nix
./services/web-servers/caddy/default.nix
./services/web-servers/darkhttpd.nix
./services/web-servers/fcgiwrap.nix

View File

@ -1,5 +1,5 @@
# Test Authelia as an auth server for Traefik as a reverse proxy of a local web service
import ./make-test-python.nix ({ pkgs, ... }: {
import ./make-test-python.nix ({ lib, ... }: {
name = "authelia";
meta.maintainers = with lib.maintainers; [ jk ];

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, callPackage }:
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, callPackage, nixosTests }:
let
inherit (import ./sources.nix { inherit fetchFromGitHub; }) pname version src vendorHash;
@ -56,6 +56,7 @@ buildGoModule rec {
# if overriding replace the postPatch to put your web UI output in internal/server/public_html
inherit web;
updateScript = ./update.sh;
tests = { inherit (nixosTests) authelia; };
};
meta = with lib; {