Bridge DMS rendering through NixGL
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
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;
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user