wifi: migrate to clan.nixosTests module

This commit is contained in:
Jörg Thalheim
2025-06-17 19:36:35 +02:00
parent 845952ab86
commit 8476051512
2 changed files with 3 additions and 12 deletions

View File

@@ -9,20 +9,11 @@ let
};
in
{
clan.modules = {
wifi = module;
};
clan.modules.wifi = module;
perSystem =
{ ... }:
{
/**
1. Prepare the test vars
nix run .#generate-test-vars -- clanServices/hello-world/tests/vm hello-service
2. To run the test
nix build .#checks.x86_64-linux.hello-service
*/
clan.nixosTests.wifi-service = {
clan.nixosTests.wifi = {
imports = [ ./tests/vm/default.nix ];
clan.modules."@clan/wifi" = module;

View File

@@ -1,5 +1,5 @@
{
name = "wifi-service";
name = "wifi";
clan = {
directory = ./.;