init: flake scaffold

This commit is contained in:
2026-05-28 14:09:53 +02:00
commit accc2dd972
2 changed files with 44 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# nix
result
result-*
# node / astro
node_modules/
dist/
.astro/
# env
.env
.env.*
# os
.DS_Store
+29
View File
@@ -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
];
};
}
);
}