-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
35 lines (33 loc) · 1.09 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
inputs = {
flakey-devShells.url = "https://flakehub.com/f/GetPsyched/not-so-flakey-devshells/0.x.x.tar.gz";
flakey-devShells.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{ nixpkgs, flakey-devShells, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
flakey-devShell-pkgs = flakey-devShells.outputs.packages.${system};
in
{
devShell.${system} = with pkgs; mkShell {
buildInputs = [
docker
(flakey-devShell-pkgs.default.override { environments = [ "nix" "nextjs" ]; })
(flakey-devShell-pkgs.vscodium.override {
environments = [ "nix" "nextjs" ];
extensions = with vscode-extensions; [
eamodio.gitlens
] ++ vscode-utils.extensionsFromVscodeMarketplace [
{
name = "pretty-ts-errors";
publisher = "yoavbls";
version = "0.5.3";
sha256 = "sha256-JSCyTzz10eoUNu76wNUuvPVVKq4KaVKobS1CAPqgXUA=";
}
];
})
];
};
};
}