diff --git a/pkgs/clan-cli/tests/test_create_flake.py b/pkgs/clan-cli/tests/test_create_flake.py index d0721c6e..dc5a6dc8 100644 --- a/pkgs/clan-cli/tests/test_create_flake.py +++ b/pkgs/clan-cli/tests/test_create_flake.py @@ -60,9 +60,8 @@ def test_ui_template( clan_core: Path, ) -> None: flake_dir = temporary_home / "test-flake" - url = f"{clan_core}#empty" + url = f"{clan_core}#minimal" cli.run(["flakes", "create", str(flake_dir), f"--url={url}"]) - assert (flake_dir / ".clan-flake").exists() monkeypatch.chdir(flake_dir) cli.run(["machines", "create", "machine1"]) capsys.readouterr() # flush cache diff --git a/templates/empty/.clan-flake b/templates/empty/.clan-flake deleted file mode 100644 index 406fcfeb..00000000 --- a/templates/empty/.clan-flake +++ /dev/null @@ -1,2 +0,0 @@ -# DO NOT DELETE -# This file is used by the clan cli to discover a clan flake diff --git a/templates/empty/clan/meta.json b/templates/empty/clan/meta.json deleted file mode 100644 index 26fbf95e..00000000 --- a/templates/empty/clan/meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "My Empty Clan", - "description": "some nice description", - "icon": "A path to the png" -} diff --git a/templates/empty/flake.nix b/templates/empty/flake.nix deleted file mode 100644 index f6a3b6c9..00000000 --- a/templates/empty/flake.nix +++ /dev/null @@ -1,16 +0,0 @@ -# Clan configuration file -# TODO: This file is used as a template for the simple GUI workflow -{ - inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core"; - outputs = - { self, clan-core, ... }: - let - clan = clan-core.lib.buildClan { - # This clan builds all its configuration out of the current directory - directory = self; - }; - in - { - inherit (clan) nixosConfigurations clanInternals; - }; -} diff --git a/templates/flake-module.nix b/templates/flake-module.nix index aa1eaf39..e48375b5 100644 --- a/templates/flake-module.nix +++ b/templates/flake-module.nix @@ -5,10 +5,6 @@ description = "Initialize a new clan flake"; path = ./new-clan; }; - empty = { - description = "A empty clan template. Primarily for usage with the clan ui"; - path = ./empty; - }; default = self.templates.new-clan; minimal = { description = "for clans managed via (G)UI";