diff --git a/nixosModules/clanCore/state-version/tests/flake-module.nix b/nixosModules/clanCore/state-version/tests/flake-module.nix index c21067461..f5e65fa71 100644 --- a/nixosModules/clanCore/state-version/tests/flake-module.nix +++ b/nixosModules/clanCore/state-version/tests/flake-module.nix @@ -17,6 +17,7 @@ machines.server = { }; instances.importer = { module.name = "@clan/importer"; + module.input = "self"; roles.default.tags.all = { }; roles.default.extraModules = [ { diff --git a/pkgs/clan-cli/clan_lib/tests/test_create.py b/pkgs/clan-cli/clan_lib/tests/test_create.py index 261e84bf1..82fa99407 100644 --- a/pkgs/clan-cli/clan_lib/tests/test_create.py +++ b/pkgs/clan-cli/clan_lib/tests/test_create.py @@ -63,17 +63,7 @@ def create_base_inventory(ssh_keys_pairs: list[SSHKeyPair]) -> InventoryWrapper: ssh_keys.append(InvSSHKeyEntry(f"user_{num}", ssh_key.public.read_text())) """Create the base inventory structure.""" - legacy_services: dict[str, Any] = { - "state-version": { - "someid": { - "roles": { - "default": { - "tags": ["all"], - } - } - } - }, - } + legacy_services: dict[str, Any] = {} instances = InventoryInstancesType( { diff --git a/templates/clan/new-clan/modules/shared.nix b/templates/clan/new-clan/modules/shared.nix index 23f8a3fb3..d6dc92a85 100644 --- a/templates/clan/new-clan/modules/shared.nix +++ b/templates/clan/new-clan/modules/shared.nix @@ -12,7 +12,6 @@ # Set a root password clan-core.clanModules.root-password clan-core.clanModules.user-password - clan-core.clanModules.state-version # You can access other flakes imported in your flake via `self` like this: # self.inputs.nix-index-database.nixosModules.nix-index