From d1025e0258c93ba6a4b89c7cc3e9bf70b79b7ba5 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 20 Oct 2023 14:57:56 +0200 Subject: [PATCH] vscodium on Wayland --- modules/vscodium.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/vscodium.nix b/modules/vscodium.nix index bcc79c6..320bab0 100644 --- a/modules/vscodium.nix +++ b/modules/vscodium.nix @@ -1,7 +1,8 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { # Integrated Development Environment (IDE) - # Wayland support: NIXOS_OZONE_WL=1 + + environment.sessionVariables.NIXOS_OZONE_WL = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "1"; environment.systemPackages = with pkgs; [ (vscode-with-extensions.override {