You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
741 B
38 lines
741 B
9 months ago
|
{
|
||
|
description = "Portfolio website";
|
||
|
|
||
|
inputs = {
|
||
|
systems.url = "github:nix-systems/default";
|
||
|
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
||
|
};
|
||
|
|
||
|
outputs =
|
||
|
{ systems
|
||
|
, nixpkgs
|
||
|
, ...
|
||
|
}:
|
||
|
let
|
||
|
eachSystem = f:
|
||
|
nixpkgs.lib.genAttrs (import systems) (
|
||
|
system:
|
||
|
f nixpkgs.legacyPackages.${system}
|
||
|
);
|
||
|
in
|
||
|
{
|
||
|
devShells = eachSystem
|
||
|
(pkgs: {
|
||
|
default = pkgs.mkShell
|
||
|
{
|
||
|
buildInputs = with pkgs; [
|
||
|
nodejs_20
|
||
|
|
||
|
yarn
|
||
|
|
||
|
nodePackages.typescript
|
||
|
nodePackages.typescript-language-server
|
||
|
];
|
||
|
};
|
||
|
});
|
||
|
};
|
||
|
}
|