move env to a nix flake

This commit is contained in:
2026-09-27 10:18:24 +02:00
parent 52a53f773a
commit b773e55eb2
8 changed files with 97 additions and 45 deletions
+27
View File
@@ -0,0 +1,27 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
gcc
gnumake
pkg-config
libx11
libxft
libxext
libxrender
libxrandr
libxinerama
libxcrypt
fontconfig
freetype
];
};
};
}