Show white bar on both monitors

This commit is contained in:
Jiří Maxmilián Stříbrný 2026-03-16 21:00:55 +01:00
parent 4687c2ce05
commit 70ad7e9b65
10 changed files with 5993 additions and 20 deletions

View file

@ -1,5 +1,6 @@
{
description = "My rust development shell";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
rust-overlay = {
@ -7,6 +8,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {nixpkgs, ...} @ inputs: let
system = "x86_64-linux";
overlays = [(import inputs.rust-overlay)];
@ -18,29 +20,27 @@
extensions = ["rust-analyzer" "rust-src"];
};
rustPlatform = pkgs.makeRustPlatform {
cargo = rustToolchain;
rustc = rustToolchain;
};
runtimeLibs = with pkgs; [
wayland
libxkbcommon
glib
vulkan-loader
mesa
libGL
];
in {
packages."${system}" = {
default = rustPlatform.buildRustPackage {
pname = "wayland_panel";
version = "0.1.0";
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
};
};
devShells."${system}" = {
default = pkgs.mkShell {
buildInputs = with pkgs; [
devShells."${system}".default = pkgs.mkShell {
buildInputs = with pkgs;
[
gcc
gnumake
rustToolchain
evcxr
];
};
]
++ runtimeLibs;
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath runtimeLibs;
VK_ICD_FILENAMES = "${pkgs.mesa}/share/vulkan/icd.d/intel_icd.x86_64.json";
};
};
}