This commit is contained in:
2025-11-22 07:26:43 +01:00
parent a2bc018235
commit d63041ac21
4 changed files with 104 additions and 0 deletions

42
flake.nix Normal file
View File

@@ -0,0 +1,42 @@
{
description = "Web Engineering";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [];
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
perSystem = {
config,
self',
inputs',
pkgs,
system,
...
}:
with pkgs.lib; {
# packages.default = with pkgs; mkDerivation {
# };
devShells.default = with pkgs;
mkShell {
packages = [
openjdk
jetty
ant
];
shellHook = ''
echo "Usage Example:"
echo "jetty ..."
'';
};
};
flake = {
};
};
}