This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
yandexgpt_tg_bot/flake.nix

26 lines
611 B
Nix
Raw Normal View History

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