2023-04-20 18:32:12 +02:00
|
|
|
{
|
2023-10-29 04:54:24 +01:00
|
|
|
description = "Logic gate simulator";
|
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachDefaultSystem
|
|
|
|
(system:
|
|
|
|
let pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells.default =
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; with nodePackages_latest; [
|
|
|
|
nodejs
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
2023-10-29 03:14:12 +01:00
|
|
|
|
|
|
|
# {{{ Caching and whatnot
|
|
|
|
nixConfig = {
|
|
|
|
# extra-substituters = [
|
|
|
|
# "erratic-gate.cachix.org-1:Ijiu/v//aVpKO4xBqV+2AM2s2uQYOnGCfoj9fYRXxtk" # I think I need this for neovim-nightly?
|
|
|
|
# ];
|
|
|
|
#
|
|
|
|
# extra-trusted-public-keys = [
|
|
|
|
# "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
# ];
|
|
|
|
};
|
|
|
|
# }}}
|
2023-04-20 18:32:12 +02:00
|
|
|
}
|