lib/private: add isInternal

This commit is contained in:
Gabriel Arazas 2023-07-09 12:02:03 +08:00
parent a23f99f5ae
commit 1975ee0554
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -44,6 +44,8 @@ rec {
({ inherit key; } // settings)) ({ inherit key; } // settings))
secrets; secrets;
isInternal = config: config ? _isInsideFds && config._isInsideFds;
getUsers = type: users: getUsers = type: users:
let let
userModules = lib.filesToAttr ../users/${type}; userModules = lib.filesToAttr ../users/${type};