21 lines
588 B
Nix
21 lines
588 B
Nix
{
|
|
description = "some config";
|
|
|
|
inputs = {
|
|
# Latest stable nixpkgs
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
|
|
|
# Flake parts utils
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
import-tree.url = "github:vic/import-tree";
|
|
};
|
|
|
|
# Default import-tree output
|
|
outputs = inputs:
|
|
# Pass all inputs to outputs
|
|
inputs.flake-parts.lib.mkFlake {
|
|
# Call mkFlake from flake-parts module
|
|
inherit inputs; # Inherit inputs (required to get correct arch for self')
|
|
} (inputs.import-tree ./modules); # Pass in all modules using import-tree
|
|
}
|