This repository has been archived on 2025-04-26. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
angular-hotel-manager/devenv.nix

23 lines
447 B
Nix

{
name = "hotel-manager";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
packages = [
pkgs.nodePackages."@angular/cli"
pkgs.git
pkgs.bun
];
services.ng-serve = {
description = "Angular Development Server";
start = ''
echo "Starting Angular server..."
ng serve --host 0.0.0.0 --port 4200
'';
restartIfChanged = true;
after = [ "network-online.target" ];
};
}