nimbus-gui/flake.nix

33 lines
757 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
};
outputs = inputs @ {
nixpkgs,
flake-parts,
...
}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
perSystem = {pkgs, ...}: {
devShells.default = with pkgs;
mkShell {
packages = [
nodejs
yarn-berry
python3
figlet
];
shellHook = ''
export PATH="$PWD/node_modules/.bin:$PATH"
if [ "''${DISABLE_DEVSHELL_BANNER:-}" != true ]; then
figlet "Welcome to Nimbus-GUI"
fi
'';
};
};
};
}