start: use nixGL if Hyprland is nix but not NixOS (#12845)

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
Vaxry 2026-01-08 10:57:56 +01:00 committed by GitHub
parent 918e2bb9be
commit 8368566044
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 147 additions and 2 deletions

View file

@ -0,0 +1,9 @@
#pragma once
#include <expected>
#include <string>
namespace Nix {
std::expected<void, std::string> nixEnvironmentOk();
bool shouldUseNixGL();
};