nix: reorganize

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-08-08 20:07:30 +05:30
parent f2bf8321cd
commit 8c101df12a
8 changed files with 221 additions and 146 deletions

18
nix/default.nix Normal file
View File

@@ -0,0 +1,18 @@
{ ... }: {
imports = [
./torana.nix
./torana-web.nix
];
perSystem = { self', pkgs, ... }: {
packages.default = self'.packages.torana;
devShells.default = pkgs.mkShell {
name = "torana-dev";
inputsFrom = with self'.devShells; [
torana
torana-web
];
};
};
}