🏡 index : github.com/compromyse/enfold.git

author Raghuram Subramani <raghus2247@gmail.com> 2025-03-24 13:07:31.0 +05:30:00
committer Raghuram Subramani <raghus2247@gmail.com> 2025-03-24 13:07:31.0 +05:30:00
commit
33a320d48dddb44ec7d838ae9fdeaa44fabba342 [patch]
tree
014f151fce890fbfbc22c52a20ad6abf1be65ab8
parent
3fe5ec5e74fa8e274ccf18a80e3a134205639bef
download
33a320d48dddb44ec7d838ae9fdeaa44fabba342.tar.gz

add env



Diff

 .envrc     |  1 +
 .gitignore |  3 +++
 flake.lock | 27 +++++++++++++++++++++++++++
 flake.nix  | 13 +++++++++++++
 4 files changed, 44 insertions(+)

diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..3550a30 100644
--- /dev/null
+++ a/.envrc
@@ -1,0 +1,1 @@
use flake
diff --git a/.gitignore b/.gitignore
index 0a19790..69f86b2 100644
--- a/.gitignore
+++ a/.gitignore
@@ -172,3 +172,6 @@

# PyPI configuration file
.pypirc

venv/
.direnv/
diff --git a/flake.lock b/flake.lock
new file mode 100644
index 0000000..15012bd 100644
--- /dev/null
+++ a/flake.lock
@@ -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
}

diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..444c595 100644
--- /dev/null
+++ a/flake.nix
@@ -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
        ];
      };
    };
}