extraModules: soft deprecation for string extraModules

This commit is contained in:
Johannes Kirschbauer
2025-10-24 12:54:17 +02:00
parent 3fec5aa5b3
commit 6ee4657da3
3 changed files with 7 additions and 9 deletions

View File

@@ -44,12 +44,6 @@ in
description = ''
List of additionally imported `.nix` expressions.
Supported types:
- **Strings**: Interpreted relative to the 'directory' passed to `lib.clan`.
- **Paths**: should be relative to the current file.
- **Any**: Nix expression must be serializable to JSON.
!!! Note
**The import only happens if the machine is part of the service or role.**
@@ -74,7 +68,7 @@ in
```
'';
default = [ ];
type = types.listOf types.deferredModule;
type = types.listOf types.raw;
};
};
}