-
I set out to get niri to run on Linux Mint 22.1 by installing the binary using the Nix package manager. I think that I got all the necessary pieces in place. I start Initial Nix setup in short
Binary niri installation was quick and easy
Included the relevant paths in
To get Systemd to co-operate I created
I have tried the debug block in Not sure if this was needed but I installed nixpkgs My user account is a member of groups: video, render, input. I can't think of anything else at this point. Any suggestions what to try next? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
A common NixOS problem with a black screen is when mesa version from niri mismatches the system mesa version. Maybe that's what's going on here too |
Beta Was this translation helpful? Give feedback.
-
why is this opened here and not in e.g. nixpkgs? this is a packaging issue lol anyways have you tried nixGL? $ nix run --impure github:nix-community/nixGL -- niri |
Beta Was this translation helpful? Give feedback.
-
nixGL wrapper was the answer. Thank you @sodiboo and thank you @YaLTeR for quick and helpful hints. For completeness sake, this is how I actually got it to work:
At that point launching And here is the minimum required installed nixpkgs list:
Alacritty, Fuzzel, Waybar, and others can live on the host system (deb) or may be added via nixpkgs as well, whatever the user's preference (versions, features, bugs). Mission accomplished. Now if anyone wants to run niri on any distro where it's not packaged, this is a viable option. |
Beta Was this translation helpful? Give feedback.
why is this opened here and not in e.g. nixpkgs? this is a packaging issue lol
anyways have you tried nixGL?