init devenv

This commit is contained in:
2025-10-27 19:46:35 +01:00
parent 7e34770ae6
commit 8c9b735d75
6 changed files with 370 additions and 0 deletions

31
devenv.nix Normal file
View File

@@ -0,0 +1,31 @@
{
pkgs,
lib,
config,
...
}:
{
# https://devenv.sh/languages/
languages = {
rust.enable = true;
javascript.enable = true;
};
# https://devenv.sh/packages/
packages = [
pkgs.nodejs
pkgs.yarn
pkgs.wabt # Wasm dependencies for Tauri
pkgs.glib
pkgs.gtk3
pkgs.webkitgtk_4_1
pkgs.zed-editor
# pkgs.webkitgtk # Linux Tauri dependency (Webview2 is the one used on Widnows)
];
enterShell = ''
zsh
exit
'';
}