mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-09 16:33:57 -05:00
20 lines
326 B
Nix
20 lines
326 B
Nix
{
|
|
self,
|
|
unstable,
|
|
...
|
|
}:
|
|
let
|
|
myLib = self.lib;
|
|
inherit (unstable) lib;
|
|
in
|
|
lib.pipe ./. [
|
|
myLib.listNixFilesRecursive
|
|
(map (name: {
|
|
name = lib.pipe name [
|
|
(lib.removeSuffix ".nix")
|
|
(lib.removePrefix "${./.}/")
|
|
];
|
|
value = myLib.addSchizophreniaToModule name;
|
|
}))
|
|
builtins.listToAttrs
|
|
]
|