diff --git a/clanServices/wifi/flake-module.nix b/clanServices/wifi/flake-module.nix index 0faea677e..a2b885bcd 100644 --- a/clanServices/wifi/flake-module.nix +++ b/clanServices/wifi/flake-module.nix @@ -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; diff --git a/clanServices/wifi/tests/vm/default.nix b/clanServices/wifi/tests/vm/default.nix index 0efd5e315..8d257c9a6 100644 --- a/clanServices/wifi/tests/vm/default.nix +++ b/clanServices/wifi/tests/vm/default.nix @@ -1,5 +1,5 @@ { - name = "wifi-service"; + name = "wifi"; clan = { directory = ./.;