Vscode/vscodium add use wayland#147945
Conversation
|
In my personal configuration I do wrapProgram $out/bin/codium --add-flags \
"--enable-features=UseOzonePlatform --ozone-platform=wayland"which Is a bit nicer. This should also be used in |
fde9003 to
e0967a7
Compare
Synthetica9
left a comment
There was a problem hiding this comment.
lgtm but I'd very much like a second opinion on this.
| @@ -1,4 +1,4 @@ | |||
| { lib, stdenv, callPackage, fetchurl, nixosTests }: | |||
| { lib, stdenv, callPackage, fetchurl, nixosTests, useWayland ? false}: | |||
There was a problem hiding this comment.
| { lib, stdenv, callPackage, fetchurl, nixosTests, useWayland ? false}: | |
| { lib, stdenv, callPackage, fetchurl, nixosTests, useWayland ? false }: |
|
This is great, but maybe it should be documented somewhere so Wayland users will discover it? |
|
Doesn't this conflict with #147557? |
They both solve the same goal, and we probably only need one of the two. Which one it should be is probably a matter of discussion between Wayland users, @TilCreator @wmertens ? |
I am using wayland more by accident since plasma switched to it by accident and then kept wayland. I think it is very nice that I can just log into x11 and wayland with the same package set without a rebuild. Thats why I am in very strong favor of fixing this globally via the above quoted PR instead of on a per package basis. |
|
I prefer #147557. Should I close the pr? |
Motivation for this change
Wanting to use Vscode/Vscodium in Sway without Xwayland.
Things done
Add a
useWaylandoption inspired by bcad474sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes