feat: make a simple nix devshell, integrated with direnv

This commit is contained in:
Teesh 2026-02-06 15:40:43 +02:00
parent 0cd7b3af12
commit 41fb50c4cf
6 changed files with 104 additions and 0 deletions

7
packages/nix/shell.nix Normal file
View file

@ -0,0 +1,7 @@
{...}: {
perSystem = {pkgs, ...}: {
devShells.default = pkgs.mkShell {
packages = [pkgs.cargo];
};
};
}

5
packages/nix/systems.nix Normal file
View file

@ -0,0 +1,5 @@
{...}: {
systems = [
"x86_64-linux"
];
}