wifi: migrate to clan.nixosTests module
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
name = "wifi-service";
|
||||
name = "wifi";
|
||||
|
||||
clan = {
|
||||
directory = ./.;
|
||||
|
||||
Reference in New Issue
Block a user