clan-template: introduce clan-flake-module

This commit is contained in:
Jörg Thalheim
2023-07-26 11:32:27 +02:00
parent 6de0fb7775
commit fde5155195
2 changed files with 12 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
# AUTOMATICALLY GENERATED by clan
{ ... }: {
imports =
let
relPaths = builtins.fromJSON (builtins.readFile ./imports.json);
paths = map (path: ./. + path) relPaths;
in
paths;
}