Visual Studio Code: Difference between revisions
imported>Jessestricker Add information about usage with Wayland |
imported>Jessestricker m Improve formatting in Wayland section |
||
Line 59: | Line 59: | ||
To fix this, set the environment variable <code>NIXOS_OZONE_WL=1</code>: | To fix this, set the environment variable <code>NIXOS_OZONE_WL=1</code>: | ||
* temporary fix: run via the terminal: < | * temporary fix: run via the terminal: | ||
* permanent fix: add to your NixOS configuration: < | <syntaxHighlight lang=console>$ NIXOS_OZONE_WL=1 code ...</syntaxHighlight> | ||
* permanent fix: add to your NixOS configuration: | |||
<syntaxHighlight lang=nix>environment.sessionVariables.NIXOS_OZONE_WL = "1";</syntaxHighlight> | |||
[https://github.com/NixOS/nixpkgs/commit/b2eb5f62a7fd94ab58acafec9f64e54f97c508a6 Source] | [https://github.com/NixOS/nixpkgs/commit/b2eb5f62a7fd94ab58acafec9f64e54f97c508a6 Source] |