feature(deven): add devenv for ml exercises

This commit is contained in:
2026-04-28 16:15:16 +02:00
parent 8036891806
commit 1c8c4e5142
4 changed files with 1376 additions and 1 deletions
+6 -1
View File
@@ -1,3 +1,8 @@
# virtualenv
.venv
.swp
.devenv
# vim
.swp
# jupyter notebooks
.ipynb_checkpoints
*.dot
+65
View File
@@ -0,0 +1,65 @@
{
"nodes": {
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1777372895,
"narHash": "sha256-PGesjpeDbEPigEP7tdRw8Sm0mmOmonUdOOthBY+nhJA=",
"owner": "cachix",
"repo": "devenv",
"rev": "cb344e4a5ab9241ae49739352c24268d5f8be13b",
"type": "github"
},
"original": {
"dir": "src/modules",
"owner": "cachix",
"repo": "devenv",
"type": "github"
}
},
"nixpkgs": {
"inputs": {
"nixpkgs-src": "nixpkgs-src"
},
"locked": {
"lastModified": 1776852779,
"narHash": "sha256-WwO/ITisCXwyiRgtktZgv3iGhAGO+IB5Av4kKCwezR0=",
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "ec3063523dcd911aeadb50faa589f237cdab5853",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "rolling",
"repo": "devenv-nixpkgs",
"type": "github"
}
},
"nixpkgs-src": {
"flake": false,
"locked": {
"lastModified": 1776329215,
"narHash": "sha256-a8BYi3mzoJ/AcJP8UldOx8emoPRLeWqALZWu4ZvjPXw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b86751bc4085f48661017fa226dee99fab6c651b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
+20
View File
@@ -0,0 +1,20 @@
{ pkgs, lib, config, ... }:
{
languages.python = {
enable = true;
venv.enable = true;
venv.requirements = ''
ipython
jupyter
matplotlib
numpy
scikit-learn
'';
};
packages = [
pkgs.graphviz
pkgs.zsh
];
}
File diff suppressed because one or more lines are too long