diff --git a/nixosModules/clanCore/default.nix b/nixosModules/clanCore/default.nix index 5c8546122..020179a27 100644 --- a/nixosModules/clanCore/default.nix +++ b/nixosModules/clanCore/default.nix @@ -3,7 +3,6 @@ imports = [ ./backups.nix ./facts - ./imports.nix ./inventory/interface.nix ./manual.nix ./meta/interface.nix diff --git a/nixosModules/clanCore/imports.nix b/nixosModules/clanCore/imports.nix deleted file mode 100644 index 959378eb4..000000000 --- a/nixosModules/clanCore/imports.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ lib, ... }: -{ - /* - Declaring imports inside the module system does not trigger an infinite - recursion in this case because buildClan generates the imports from the - settings.json file before calling out to evalModules. - */ - options.clanImports = lib.mkOption { - type = lib.types.listOf lib.types.str; - description = '' - A list of imported module names imported from clan-core.clanModules. - The buildClan function will automatically import these modules for the current machine. - ''; - }; -} diff --git a/pkgs/clan-cli/tests/test_flake/flake.nix b/pkgs/clan-cli/tests/test_flake/flake.nix index f563ec31e..46a3e09ca 100644 --- a/pkgs/clan-cli/tests/test_flake/flake.nix +++ b/pkgs/clan-cli/tests/test_flake/flake.nix @@ -19,7 +19,6 @@ ./nixosModules/machine1.nix ( { - lib, ... }: { @@ -29,13 +28,6 @@ nixpkgs.pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; documentation.enable = false; }; - options.clanImports = lib.mkOption { - type = lib.types.listOf lib.types.str; - description = '' - A list of imported module names imported from clan-core.clanModules. - The buildClan function will automatically import these modules for the current machine. - ''; - }; } ) ];