commit 688addaf24daf5d0a68fbdb132bf04d45939ce2c Author: smayzy Date: Wed Sep 9 15:46:49 2026 +0200 initial commit diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..da39492 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1788881743, + "narHash": "sha256-2V9GZGvPfrNzxFozhI9dcqV+c3QdA8YZrvAAzqEB+dI=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d6524aaca2ff07876657ae2b323f24be4874944b", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..f9ea34e --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + description = "python dev env"; + + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + + outputs = { nixpkgs, ... }: + let + system = "x86_64-linux"; + pkgs = import nixpkgs { inherit system; }; + in { + devShells.${system}.default = pkgs.mkShell { + packages = with pkgs;[ + python3 + ]; + }; + }; +}