feat: add new flake profiles and update app component
This commit is contained in:
parent
270782cb78
commit
cecb4c94b7
5 changed files with 29 additions and 2 deletions
23
devenv.nix
Normal file
23
devenv.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue