start: use nixGL if Hyprland is nix but not NixOS (#12845)
--------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
parent
918e2bb9be
commit
8368566044
5 changed files with 147 additions and 2 deletions
9
start/src/helpers/Nix.hpp
Normal file
9
start/src/helpers/Nix.hpp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <expected>
|
||||
#include <string>
|
||||
|
||||
namespace Nix {
|
||||
std::expected<void, std::string> nixEnvironmentOk();
|
||||
bool shouldUseNixGL();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue