wifi-assistant/flake.nix

27 lines
534 B
Nix
Raw Permalink Normal View History

2025-02-12 05:55:57 +00:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs =
{ nixpkgs, utils, ... }:
utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell;
in
{
devShell = mkShell {
buildInputs = with pkgs; [
nodejs
tokei
];
};
NPM_CONFIG_REGISTRY = "https://registry.npmmirror.com";
}
);
}