nixgl flake input attempt
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, nixgl, ... }:
|
||||
{
|
||||
home.sessionVariables = lib.mkIf (config.enableShell && config.graphical) {
|
||||
TERMINAL = "ghostty";
|
||||
};
|
||||
|
||||
# https://github.com/nix-community/nixGL?tab=readme-ov-file#nix-channel-recommended
|
||||
# nix-channel --add https://github.com/nix-community/nixGL/archive/main.tar.gz nixgl && nix-channel --update
|
||||
nixGL.packages = import <nixgl> { inherit pkgs; };
|
||||
# nixGL is now provided as a flake input
|
||||
nixGL.packages = nixgl.packages.${pkgs.system};
|
||||
nixGL.defaultWrapper = "mesa";
|
||||
nixGL.installScripts = [ "mesa" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user