Chore: remove unused clanImports module

This commit is contained in:
Johannes Kirschbauer
2024-11-12 14:45:55 +01:00
parent 24356d0fad
commit c7da3e165f
3 changed files with 0 additions and 24 deletions

View File

@@ -3,7 +3,6 @@
imports = [
./backups.nix
./facts
./imports.nix
./inventory/interface.nix
./manual.nix
./meta/interface.nix

View File

@@ -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.<name>
The buildClan function will automatically import these modules for the current machine.
'';
};
}

View File

@@ -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.<name>
The buildClan function will automatically import these modules for the current machine.
'';
};
}
)
];