feat: add new flake profiles and update app component

This commit is contained in:
Jan K9f 2024-09-10 08:09:59 +02:00
parent 270782cb78
commit cecb4c94b7
Signed by: jank
GPG key ID: B267751B8AE29EFE
5 changed files with 29 additions and 2 deletions

23
devenv.nix Normal file
View file

@ -0,0 +1,23 @@
{
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" ];
};
}