mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
lib/private: add isInternal
This commit is contained in:
parent
a23f99f5ae
commit
1975ee0554
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user