added pm2 ecosystem file
diff --git a/.eslintignore b/.eslintignore
index a753b6e..f7770da 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,2 +1,3 @@
ClicksMigratingProblems/**/*
src/reflex/nsfwjs/**/*
+ecosystem.config.cjs
\ No newline at end of file
diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs
new file mode 100644
index 0000000..008da4f
--- /dev/null
+++ b/ecosystem.config.cjs
@@ -0,0 +1,7 @@
+module.exports = {
+ apps: [{
+ name: "Nucleus",
+ script: "/run/current-system/sw/bin/nix",
+ args: "develop --command yarn start --update-commands",
+ }],
+}
\ No newline at end of file
diff --git a/flake.nix b/flake.nix
index bdbd76c..741a2bd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,6 @@
{
description = "A basic flake with a shell";
- inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
@@ -9,6 +9,9 @@
in {
devShells.default = pkgs.mkShell {
packages = [ pkgs.nodejs-19_x pkgs.nodePackages_latest.yarn ];
+ shellHook = ''
+ unset name
+ '';
};
});
-}
+}
\ No newline at end of file