diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..93db254 --- /dev/null +++ b/flake.nix @@ -0,0 +1,43 @@ +{ + description = "Vertical"; + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; + }; + + outputs = + { self, nixpkgs }: + let + supportedSystems = [ + "x86_64-linux" + "aarch64-linux" + ]; + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); + in + { + devShells = forAllSystems ( + system: + let + pkgs = nixpkgsFor.${system}; + in + { + default = pkgs.mkShell { + FORCE_COLOR = 1; + buildInputs = with pkgs; [ + biome + openssl + curl + gnumake + nodejs + nodePackages.jsdoc + nodePackages.typescript + nodePackages.typescript-language-server + ]; + shellHook = '' + printf "\nStarted the development environment\n" + ''; + }; + } + ); + }; +} |
