feat(vscode): add flake

This commit is contained in:
Tibo De Peuter 2026-05-20 14:15:44 +02:00
parent cdf05e946c
commit 7425b3b492
No known key found for this signature in database
GPG key ID: 9187B5FA0F4B6F6D
2 changed files with 81 additions and 0 deletions

20
vscode/flake.nix Normal file
View file

@ -0,0 +1,20 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
vscode-fhs
];
};
});
}