added support for devenv

This commit is contained in:
daniel 2024-09-11 13:51:46 +02:00 committed by Roland Kurmann
parent eb8bb38aa5
commit 5c5e2096b8
6 changed files with 180 additions and 0 deletions

24
devenv.nix Normal file
View file

@ -0,0 +1,24 @@
{
pkgs,
lib,
config,
inputs,
...
}:
{
cachix.enable = false;
languages.python = {
enable = true;
venv = {
enable = true;
requirements = ./requirements.txt;
};
};
packages = [
pkgs.git
pkgs.zbar
];
}