Files
niri-beyond-glass/config/nixgl/flake.nix
T
2026-07-27 17:11:49 +08:00

32 lines
864 B
Nix

{
description = "64-bit nixGL wrapper for Niri Beyond Glass";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/d407951447dcd00442e97087bf374aad70c04cea";
nixgl = {
url = "github:nix-community/nixGL/b6105297e6f0cd041670c3e8628394d4ee247ed5";
flake = false;
};
};
outputs = { nixpkgs, nixgl, ... }:
let
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
in {
packages = forAllSystems (system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
wrappers = import "${nixgl}/default.nix" {
inherit pkgs;
enable32bits = false;
enableIntelX86Extensions = system == "x86_64-linux";
};
in {
default = wrappers.auto.nixGLDefault;
});
};
}