Files
aethera/flake.nix
2026-01-17 10:07:21 -05:00

38 lines
767 B
Nix

{
description = "ARM cross-compilation environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
};
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
oc = pkgs.writeShellScriptBin "oc" ''
PRJ_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
cd "$PRJ_ROOT" && OPENCODE_EXPERIMENTAL_LSP_TOOL=true opencode
'';
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
# Backend
go
gopls
golangci-lint
# Frontend
bun
watchman
tailwindcss_4
# Custom Commands
oc
];
};
};
}