13 lines
321 B
Nix
13 lines
321 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
./devShells
|
|
./nixosModules
|
|
./packages
|
|
]
|
|
# Make treefmt-nix optional
|
|
# This only works if you set inputs.treefmt-nix.follows
|
|
# to a non-empty input that doesn't export a flakeModule
|
|
++ inputs.nixpkgs.lib.optional (inputs.treefmt-nix ? flakeModule) ./formatter.nix;
|
|
}
|