Create an openapi dev shell

Move the openapi flake to the root level and refactor to a devshell
called `openapi`.

The other flake.nix files will be similarly combined in future commits.

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-23 21:48:00 +01:00
parent c7aaa19534
commit 92c10ef33e
5 changed files with 10 additions and 8 deletions

View file

View file

@ -18,7 +18,8 @@
};
};
devShells.${system}.default = pkgs.mkShell {
devShells.${system} = {
openapi = pkgs.mkShell {
packages = with pkgs; [
openapi-generator-cli
openapi-tui
@ -28,4 +29,5 @@
];
};
};
};
}

View file

@ -1 +1 @@
use flake
use flake ..#openapi