commit accc2dd9720f41f02a7d4e35dce3489ff36afb97 Author: DerGrumpf Date: Thu May 28 14:09:53 2026 +0200 init: flake scaffold diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e351e26 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# nix +result +result-* + +# node / astro +node_modules/ +dist/ +.astro/ + +# env +.env +.env.* + +# os +.DS_Store diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..1df4db9 --- /dev/null +++ b/flake.nix @@ -0,0 +1,29 @@ +{ + description = "personal website"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = + { + self, + nixpkgs, + flake-utils, + }: + flake-utils.lib.eachDefaultSystem ( + system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + nodejs_22 + nodePackages.pnpm + ]; + }; + } + ); +}