Jump to content

Visual Studio Code: Difference between revisions

m
Improve formatting in Wayland section
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: <code>$ NIXOS_OZONE_WL=1 code ...</code>
* temporary fix: run via the terminal:  
* permanent fix: add to your NixOS configuration: <code>environment.sessionVariables.NIXOS_OZONE_WL = "1";</code>
  <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]