initial commit

This commit is contained in:
Noa Aarts 2025-11-27 23:56:32 +01:00
commit bc71e758cf
Signed by: noa
GPG key ID: 1850932741EFF672
7 changed files with 247 additions and 0 deletions

26
flake.nix Normal file
View file

@ -0,0 +1,26 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};
outputs =
{ nixpkgs, ... }:
let
eachSystem =
f:
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: f nixpkgs.legacyPackages.${system});
in
{
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
buildInputs = [
(pkgs.python3.withPackages (ppkgs: [
ppkgs.numpy
ppkgs.torch
]))
];
};
});
};
}