{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
nixosModules = rec {
yandexgpt_telegram_bot = import ./nixos;
default = yandexgpt_telegram_bot;
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
devShells.default = pkgs.mkShell {
packages = with pkgs; [
nodejs-18_x
prefetch-npm-deps
];
});
}