Files
nix-config/modules/nix/flake-parts/flake-file.nix
Weckyy702 e34b5ecce3 Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts.

> Atomic commits? Never heard of them!
2026-03-15 15:04:47 +01:00

23 lines
512 B
Nix

{ inputs, ... }: {
imports = [
inputs.flake-parts.flakeModules.modules
inputs.flake-file.flakeModules.default
];
flake-file.inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
flake-file.url = "github:vic/flake-file";
import-tree.url = "github:vic/import-tree";
};
flake-file.outputs = ''
inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules)
'';
systems = [
# f Darwin >:(
"aarch64-linux"
"x86_64-linux"
];
}