From 95ee8864fccb5ce5884de342a1edc6d75308d717 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 30 Jan 2025 13:32:02 +0200 Subject: Added a bunch of shit to try and compile raylib cuz nixos has issues, will probably remove all of it and just use nix-shells --- hosts/kyren-laptop/configuration.nix | 36 ++++++++++++++++++++++++++++++++++++ hosts/kyren-laptop/home.nix | 1 + 2 files changed, 37 insertions(+) diff --git a/hosts/kyren-laptop/configuration.nix b/hosts/kyren-laptop/configuration.nix index 82cc5b3..ff6ae7a 100644 --- a/hosts/kyren-laptop/configuration.nix +++ b/hosts/kyren-laptop/configuration.nix @@ -117,12 +117,48 @@ clang-tools ghostty glibcLocales + + wayland-scanner + raylib + egl-wayland + libxkbcommon + kdePackages.wayland + kdePackages.kwayland + glfw-wayland + + libGL + xorg.libX11 + xorg.libXcursor + xorg.libXrandr + xorg.libXinerama + xorg.libXi + + udev + alsa-lib + vulkan-loader + # libxkbcommon + wayland ]; # Enable dynamic linking of applications that are not in nixpkgs (for vim LSPs for example). programs.nix-ld.enable = true; programs.nix-ld.libraries = with pkgs; [ stdenv.cc.cc + + kdePackages.wayland + kdePackages.kwayland + glfw-wayland + wayland-scanner + raylib + wayland + egl-wayland + libxkbcommon + libGL + xorg.libX11 + xorg.libXcursor + xorg.libXrandr + xorg.libXinerama + xorg.libXi ]; # Some programs need SUID wrappers, can be configured further or are diff --git a/hosts/kyren-laptop/home.nix b/hosts/kyren-laptop/home.nix index c6a452d..8c5c3f1 100644 --- a/hosts/kyren-laptop/home.nix +++ b/hosts/kyren-laptop/home.nix @@ -97,6 +97,7 @@ hyperfine nh wget + git-lfs ]; # For nixd LSP to recognize what nixpkgs version I use -- cgit v1.3.1