add env
Diff
.envrc | 1 +
.gitignore | 3 +++
flake.lock | 27 +++++++++++++++++++++++++++
flake.nix | 13 +++++++++++++
4 files changed, 44 insertions(+)
@@ -1,0 +1,1 @@
use flake
@@ -172,3 +172,6 @@
# PyPI configuration file
.pypirc
venv/
.direnv/
@@ -1,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1742669843,
"narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1e5b653dff12029333a6546c11e108ede13052eb",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
@@ -1,0 +1,13 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs, ... }: let
pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
in {
devShells.x86_64-linux.default = pkgs.mkShell {
buildInputs = with pkgs; [
python3
];
};
};
}