chore: add Flake and direnv

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-02-17 00:30:17 +01:00
parent 66a63a12e2
commit ad63fedb45
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
4 changed files with 61 additions and 0 deletions

15
flake.nix Normal file
View file

@ -0,0 +1,15 @@
{
description = "Discord bot for Prism Launcher";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell { packages = with pkgs; [ yarn ]; };
});
}