webnsupdate/flake-modules/default.nix
Jalil David Salamé Messina 8dd8b9e3aa
All checks were successful
/ check (push) Successful in 7s
/ build (push) Successful in 1s
feat: add NixOS VM tests
This does integration testing to ensure the module works properly
2024-10-28 10:41:41 +01:00

33 lines
603 B
Nix

{ inputs, ... }:
{
imports = [
inputs.treefmt-nix.flakeModule
./package.nix
./overlay.nix
./module.nix
./tests.nix
];
perSystem =
{ pkgs, ... }:
{
# Setup formatters
treefmt = {
projectRootFile = "flake.nix";
programs = {
nixfmt.enable = true;
rustfmt.enable = true;
statix.enable = true;
typos.enable = true;
};
};
devShells.default = pkgs.mkShellNoCC {
packages = [
pkgs.cargo-insta
pkgs.cargo-udeps
pkgs.mold
];
};
};
}