Compare commits

..

2 Commits

7 changed files with 62 additions and 0 deletions

1
.direnv/flake-profile Symbolic link

@ -0,0 +1 @@
flake-profile-2-link

@ -0,0 +1 @@
/nix/store/3hvzb7brklcrpdggn78fnmi20i49jnys-nix-shell-env

@ -0,0 +1 @@
/nix/store/amb6zvwfmy0l7yfdhrfaclcy4997fy03-nix-shell-env

1
.envrc Normal file

@ -0,0 +1 @@
use flake

BIN
bun.lockb Executable file

Binary file not shown.

27
flake.lock Normal file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1725634671,
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

31
flake.nix Normal file

@ -0,0 +1,31 @@
{
description = "Hotel-Manager";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default =
pkgs.mkShell
{
buildInputs = [
pkgs.nodePackages."@angular/cli"
pkgs.git
pkgs.bun
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
shellHook = ''
export CARGO_HOME=$HOME/.cargo
export RUSTUP_HOME=$HOME/.rustup
'';
};
};
}