configuration.nix/flake-modules/default.nix
Jalil David Salamé Messina 176fcae9c3
All checks were successful
/ check (push) Successful in 9s
/ check-renovaterc (push) Successful in 2s
/ build-packages (push) Successful in 13s
/ build-vm (push) Successful in 1s
/ report-size (push) Successful in 4s
refactor(flake): don't overlay nixpkgs
It is not needed for the flake itself (yes for the packages).
2025-04-21 21:08:02 +02:00

30 lines
538 B
Nix

{ inputs, ... }:
{
imports = [
inputs.treefmt-nix.flakeModule
./devshells.nix
./docs.nix
./example-vm.nix
./nixos-modules.nix
./home-modules.nix
./nixvim-modules.nix
./overlays.nix
../scripts
];
perSystem =
{ system, ... }:
{
# Setup formatters
treefmt = {
projectRootFile = "flake.nix";
programs = {
nixfmt.enable = true;
rustfmt.enable = true;
statix.enable = true;
typos.enable = true;
};
};
};
}